diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-07-17 22:02:32 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-07-17 22:02:32 +0200 |
commit | c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1 (patch) | |
tree | e2e0a7e2035600a339e24c1aff9103c9623d9693 /phpBB/styles | |
parent | b5a997ce183fa655af4c03b5f92a58a1a3e7c2f1 (diff) | |
download | forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar.gz forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar.bz2 forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.tar.xz forums-c934d3fcfdaaa1e8c2161577690fef9dcb41b1e1.zip |
[ticket/security/243] Limit size BBCode to 4 numeric characters
SECURITY-243
Diffstat (limited to 'phpBB/styles')
-rw-r--r-- | phpBB/styles/prosilver/template/bbcode.html | 2 |
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 --> |