I have a forum where Out Of Character is often used. I noticed that my current implementation of the OOC BBCODE does not allow for LIST BBCodes!
Example:
Code: Select all
[OOC][list]
[*] [b]One[/b]
[*] Two
[/list][/OOC]
BBCode usage
Code: Select all
[OOC title={TEXT1;optional}]{TEXT2}[/OOC]
Code: Select all
<table style="width: 100%; float: left;" border="1" cellspacing="1" cellpadding="1">
<tbody>
<tr>
<td><b>
<xsl:choose>
<xsl:when test="@title">
<span style="background-color: #ccffff; color: #000000;"> {TEXT1} <br /></span>
</xsl:when>
<xsl:otherwise>
<span style="background-color: #ccffff; color: #000000;"> OUT OF CHARACTER <br /></span>
</xsl:otherwise>
</xsl:choose>
</b>
</td>
</tr>
<tr>
<td bgcolor="#FFE5BA" width="100%"><span style="background-color: #ffe5ba;">{TEXT2}</span></td>
</tr>
</tbody>
</table>
<p> </p>
Code: Select all
[OOC=Optional title]Out of Character Text[/OOC]
RiTz21