fix: allow styled mark tags
This commit is contained in:
parent
09f3535d77
commit
1e1f67b9b4
|
@ -218,7 +218,7 @@ class UI {
|
|||
let content = block.innerHTML;
|
||||
|
||||
// but ugly fucking hack. I hate this
|
||||
content = content.replaceAll("<mark>", "<mark>");
|
||||
content = content.replaceAll(/<mark(.*?)>/g, "<mark$1>");
|
||||
content = content.replaceAll("</mark>", "</mark>");
|
||||
block.innerHTML = content;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue