aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-09-02 21:18:12 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-09-02 21:18:12 +0200
commitf84cc449b91486de753c9476dbbbfcb1ed312f7c (patch)
tree722f4d3f4eb1ae437772989090886968944f72fb
parentb4f9c44b30ff924ef3fdf23525bf22be768738cb (diff)
downloadforums-f84cc449b91486de753c9476dbbbfcb1ed312f7c.tar
forums-f84cc449b91486de753c9476dbbbfcb1ed312f7c.tar.gz
forums-f84cc449b91486de753c9476dbbbfcb1ed312f7c.tar.bz2
forums-f84cc449b91486de753c9476dbbbfcb1ed312f7c.tar.xz
forums-f84cc449b91486de753c9476dbbbfcb1ed312f7c.zip
[ticket/security/243] Remove invalid markup from bbcode.html
SECURITY-243
-rw-r--r--phpBB/styles/prosilver/template/bbcode.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/styles/prosilver/template/bbcode.html b/phpBB/styles/prosilver/template/bbcode.html
index f4ec94dbfe..940c0ace29 100644
--- a/phpBB/styles/prosilver/template/bbcode.html
+++ b/phpBB/styles/prosilver/template/bbcode.html
@@ -64,7 +64,7 @@
<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->
-<!-- BEGIN 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><!-- END size -->
+<!-- BEGIN size --><span style="font-size: {SIZE}%; line-height: 116%;">{TEXT}</span><!-- END size -->
<!-- BEGIN img --><img src="{URL}" class="postimage" alt="{L_IMAGE}" /><!-- END img -->