aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/template/attachment.html
diff options
context:
space:
mode:
author3D-I <eataly3d@gmail.com>2019-08-12 21:50:57 +0200
committer3D-I <eataly3d@gmail.com>2019-08-12 21:51:52 +0200
commitfa5df795152a311aa70bdd63d17f31771877e4e1 (patch)
tree1063967fda84750d25e828fb40ac922f3ddf74ca /phpBB/styles/prosilver/template/attachment.html
parenta84dfe716ba6130f3dc0f9ecc6fec80b7fdacb38 (diff)
downloadforums-fa5df795152a311aa70bdd63d17f31771877e4e1.tar
forums-fa5df795152a311aa70bdd63d17f31771877e4e1.tar.gz
forums-fa5df795152a311aa70bdd63d17f31771877e4e1.tar.bz2
forums-fa5df795152a311aa70bdd63d17f31771877e4e1.tar.xz
forums-fa5df795152a311aa70bdd63d17f31771877e4e1.zip
[ticket/16129] Provide proper HTML markup
PHPBB3-16129
Diffstat (limited to 'phpBB/styles/prosilver/template/attachment.html')
-rw-r--r--phpBB/styles/prosilver/template/attachment.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/styles/prosilver/template/attachment.html b/phpBB/styles/prosilver/template/attachment.html
index 143afdba6b..615717e026 100644
--- a/phpBB/styles/prosilver/template/attachment.html
+++ b/phpBB/styles/prosilver/template/attachment.html
@@ -8,14 +8,14 @@
<!-- IF _file.S_THUMBNAIL -->
<dl class="thumbnail">
- <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
+ <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
</dl>
<!-- ENDIF -->
<!-- IF _file.S_IMAGE -->
<dl class="file">
- <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" onclick="viewableArea(this);" /></dt>
+ <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" class="postimage" alt="{% if _file.COMMENT %}{{ _file.COMMENT|e('html') }}{% else %}{{ _file.DOWNLOAD_NAME }}{% endif %}" onclick="viewableArea(this);" /></dt>
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
</dl>