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()
|
||||
elem = document.getElementById(id);
|
||||
md = elem.innerHTML;
|
||||
elem.innerHTML = converter.makeHtml(md);
|
||||
elem.innerHTML = unescape(converter.makeHtml(md));
|
||||
return "done :)";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue