mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/security/243] Use bbcode.html like formatting
SECURITY-243
This commit is contained in:
parent
c934d3fcfd
commit
f75577e5f8
3 changed files with 3 additions and 3 deletions
|
@ -110,7 +110,7 @@ class factory implements \phpbb\textformatter\cache_interface
|
||||||
'i' => '<span style="font-style: italic"><xsl:apply-templates/></span>',
|
'i' => '<span style="font-style: italic"><xsl:apply-templates/></span>',
|
||||||
'u' => '<span style="text-decoration: underline"><xsl:apply-templates/></span>',
|
'u' => '<span style="text-decoration: underline"><xsl:apply-templates/></span>',
|
||||||
'img' => '<img src="{IMAGEURL}" class="postimage" alt="{L_IMAGE}"/>',
|
'img' => '<img src="{IMAGEURL}" class="postimage" alt="{L_IMAGE}"/>',
|
||||||
'size' => '<span><xsl:attribute name="style"><xsl:text>font-size: </xsl:text><xsl:value-of select="substring(@FONTSIZE, 1, 4)"/><xsl:text>%; line-height: normal</xsl:text></xsl:attribute><xsl:apply-templates/></span>',
|
'size' => '<span><xsl:attribute name="style"><xsl:text>font-size: </xsl:text><xsl:value-of select="substring(@size, 1, 4)"/><xsl:text>%; line-height: normal</xsl:text></xsl:attribute><xsl:apply-templates/></span>',
|
||||||
'color' => '<span style="color: {COLOR}"><xsl:apply-templates/></span>',
|
'color' => '<span style="color: {COLOR}"><xsl:apply-templates/></span>',
|
||||||
'email' => '<a>
|
'email' => '<a>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
|
|
Loading…
Add table
Reference in a new issue