From: Alexander Ebert Date: Sun, 4 Jan 2015 23:27:57 +0000 (+0100) Subject: Fixed code listing edit X-Git-Tag: 2.1.0_Beta_3~35^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=730d87cf8487c1feb68dfd4edea8b25c3269047f;p=GitHub%2FWoltLab%2FWCF.git Fixed code listing edit --- 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') + ''