aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-09-02 21:39:52 +0200
committerGitHub <noreply@github.com>2019-09-02 21:39:52 +0200
commit954c0ddf3e04382e08c0ff417090e6a3325fc290 (patch)
treeab2f59bea26a6781802eb9084ed3a98a8e28b4ae /phpBB
parent01e64dbc9c3a9738f58858a8b22e5d8c8d3f682b (diff)
parentf84cc449b91486de753c9476dbbbfcb1ed312f7c (diff)
downloadforums-954c0ddf3e04382e08c0ff417090e6a3325fc290.tar
forums-954c0ddf3e04382e08c0ff417090e6a3325fc290.tar.gz
forums-954c0ddf3e04382e08c0ff417090e6a3325fc290.tar.bz2
forums-954c0ddf3e04382e08c0ff417090e6a3325fc290.tar.xz
forums-954c0ddf3e04382e08c0ff417090e6a3325fc290.zip
Merge pull request #54 from phpbb/ticket/security/243
[ticket/security/243] Remove invalid markup from bbcode.html
Diffstat (limited to 'phpBB')
-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 -->