summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrashant S2019-09-30 15:56:37 +0530
committerGitHub2019-09-30 15:56:37 +0530
commit97a070ccf10579689298da09519a42056a4b87a0 (patch)
tree8ca005d554740d114a8be74eb8c173f9c439b410
parent94612c4e351ab0d90934bf5c255341fcbf2237e0 (diff)
parent37108cca315daa80e3f3ba5a4b4490b4cfad8184 (diff)
downloadr_tbc_fixer-97a070ccf10579689298da09519a42056a4b87a0.tar.gz
r_tbc_fixer-97a070ccf10579689298da09519a42056a4b87a0.tar.bz2
r_tbc_fixer-97a070ccf10579689298da09519a42056a4b87a0.zip
Merge pull request #4 from prashantsinalkar/masterHEADmaster
fixed code display issue
-rwxr-xr-xjs/r_tbc_fixer.js4
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);
}