From 730d87cf8487c1feb68dfd4edea8b25c3269047f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 5 Jan 2015 00:27:57 +0100 Subject: [PATCH] Fixed code listing edit --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js | 2 +- .../install/files/js/3rdParty/redactor/plugins/wmonkeypatch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 96afe664ac..dba47d0c1b 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -1881,7 +1881,7 @@ RedactorPlugins.wbbcode = function() { console.debug($code); var $codeContent = ''; for (var $i = 0; $i < $code.length; $i++) { - $codeContent += '
  • ' + $code[$i] + '
  • '; + $codeContent += '
  • ' + WCF.String.escapeHTML($code[$i]) + '
  • '; } $list.append($($codeContent)); diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wmonkeypatch.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wmonkeypatch.js index a4ae2d0127..379b987ee3 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wmonkeypatch.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wmonkeypatch.js @@ -902,7 +902,7 @@ RedactorPlugins.wmonkeypatch = function() { + '
    ' + '
    ' + '' + '' + WCF.Language.get('wcf.bbcode.code.highlighter.description') + '' -- 2.20.1