Ensure MFM scaling is ignored when rendering is disabled

Fixes #173
This commit is contained in:
FloatingGhost 2022-11-02 22:33:54 +00:00
parent 721e3b016d
commit ffac376b5a
3 changed files with 13 additions and 6 deletions

View file

@ -130,11 +130,11 @@ export default {
codeblocks.forEach((pre) => {
content = content.replace(pre,
pre.replaceAll('<br/>', '\n')
.replaceAll('&amp;', '&')
.replaceAll('&lt;', '<')
.replaceAll('&gt;', '>')
.replaceAll('&quot', '"')
.replaceAll('&#39;', "'")
.replaceAll('&amp;', '&')
.replaceAll('&lt;', '<')
.replaceAll('&gt;', '>')
.replaceAll('&quot', '"')
.replaceAll('&#39;', "'")
)
})
}