From e9e9ab8919fadb9124f7ff36e0ef5847882af26d Mon Sep 17 00:00:00 2001
From: 3D-I <480857+3D-I@users.noreply.github.com>
Date: Thu, 28 May 2020 13:09:48 +0200
Subject: [PATCH] [ticket/16496] Fix html special chars in custom BBcode help
line
PHPBB3-16496
---
phpBB/adm/style/acp_posting_buttons.html | 2 +-
phpBB/includes/functions_display.php | 2 +-
phpBB/styles/prosilver/template/posting_buttons.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/phpBB/adm/style/acp_posting_buttons.html b/phpBB/adm/style/acp_posting_buttons.html
index 614d6fae40..dfe09ae12e 100644
--- a/phpBB/adm/style/acp_posting_buttons.html
+++ b/phpBB/adm/style/acp_posting_buttons.html
@@ -44,7 +44,7 @@
-
+
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index d7ecc82895..d077cd0ef7 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -1122,7 +1122,7 @@ function display_custom_bbcodes()
'BBCODE_ID' => $num_predefined_bbcodes + ($i * 2),
'BBCODE_TAG' => $row['bbcode_tag'],
'BBCODE_TAG_CLEAN' => str_replace('=', '-', $row['bbcode_tag']),
- 'BBCODE_HELPLINE' => htmlspecialchars_decode($row['bbcode_helpline']),
+ 'BBCODE_HELPLINE' => $row['bbcode_helpline'],
);
/**
diff --git a/phpBB/styles/prosilver/template/posting_buttons.html b/phpBB/styles/prosilver/template/posting_buttons.html
index cb305eee4b..a59e79ef2a 100644
--- a/phpBB/styles/prosilver/template/posting_buttons.html
+++ b/phpBB/styles/prosilver/template/posting_buttons.html
@@ -96,7 +96,7 @@
-