aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-08-25 18:28:08 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-08-25 18:28:08 +0200
commit79be901cea18960bbcb8571f4e2c0d982d3ca015 (patch)
tree9438a09ca35aed1253147e3096021abbca67e27d /phpBB/styles
parent26215517dd04434333bddbc06b9ae92a845fb494 (diff)
parentf75577e5f858e43e202010f6889bd55096f75ea3 (diff)
downloadforums-79be901cea18960bbcb8571f4e2c0d982d3ca015.tar
forums-79be901cea18960bbcb8571f4e2c0d982d3ca015.tar.gz
forums-79be901cea18960bbcb8571f4e2c0d982d3ca015.tar.bz2
forums-79be901cea18960bbcb8571f4e2c0d982d3ca015.tar.xz
forums-79be901cea18960bbcb8571f4e2c0d982d3ca015.zip
Merge pull request #51 from phpbb/ticket/security/243
[ticket/security/243] Limit size BBCode to int
Diffstat (limited to 'phpBB/styles')
-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 940c0ace29..f4ec94dbfe 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 style="font-size: {SIZE}%; line-height: 116%;">{TEXT}</span><!-- END size -->
+<!-- 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 img --><img src="{URL}" class="postimage" alt="{L_IMAGE}" /><!-- END img -->