forked from cadey/xesite
frontend/Utils: unescape compiled html output
This commit is contained in:
parent
1328cf3311
commit
fa9ad2f1c8
|
@ -4,6 +4,6 @@ exports.mdify = function(id) {
|
||||||
var converter = new showdown.Converter()
|
var converter = new showdown.Converter()
|
||||||
elem = document.getElementById(id);
|
elem = document.getElementById(id);
|
||||||
md = elem.innerHTML;
|
md = elem.innerHTML;
|
||||||
elem.innerHTML = converter.makeHtml(md);
|
elem.innerHTML = unescape(converter.makeHtml(md));
|
||||||
return "done :)";
|
return "done :)";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue