Remove Arabic exceptions from handler

master
Tait Hoyem 10 months ago
parent dbfb20c72b
commit 8566452785

@ -72,10 +72,8 @@ const renderHTML = async () => {
html: true,
});
const markdownInput = document.getElementById("markdown-input");
const mkInputAr = markdownInput.value.replaceAll("ARS", "<span lang=\"ar\" dir=\"rtl\">")
const mkInputAr2 = mkInputAr.replaceAll("ARE", "</span>");
const htmlOutput = document.getElementById("html-output");
const newHtml = md.render(mkInputAr2);
const newHtml = md.render(markdownInput);
htmlOutput.innerHTML = newHtml;
updateRender();
saveMd();

Loading…
Cancel
Save