diff options
Diffstat (limited to 'js/r_tbc_fixer.js')
-rwxr-xr-x | js/r_tbc_fixer.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/r_tbc_fixer.js b/js/r_tbc_fixer.js index 769d5a5..1dddaa4 100755 --- a/js/r_tbc_fixer.js +++ b/js/r_tbc_fixer.js @@ -127,10 +127,10 @@ type: "POST", dataType: "html", success: function(data) { - var code = $(data).filter("#code").html(); + var code = $(data).filter("#code").text(); /* checking whether it is for .well or textarea */ if ($code.hasClass("fix-caption-code")) { - $code.html(code); + $code.text(code); } else { $code.val(code); } |