rewrite in vanilla js

This commit is contained in:
Adrian Osterwind 2024-11-13 15:46:13 +01:00
parent 590aec5260
commit e1ea47052d
4 changed files with 10 additions and 29 deletions

View file

@ -16,7 +16,7 @@ window.addEventListener("DOMContentLoaded", () => {
invoke("parse_markdown", { document: text }).then(
(ret)=>{
var tag_id = document.getElementById('rendered_markdown');
tag_id.innerHTML = ret;
tag_id.innerHTML = "<pre>".concat("", ret).concat("", "</pre>");
}
);