Closed sshwy closed 4 years ago
@sshwy
What makes you believe it is an error of hexo-html-minifier?
If you uninstall hexo-html-minifier
on run Hexo in safe mode (that will disable all the plugins and scripts), will the issue disappear?
Would you mind posting your the content of your post or at least provides the formula causing the error? It will also be appreciated if you upload the rendered result.
I am not sure, but it seems that the issue could be fixed by https://github.com/hexojs/hexo/pull/4073 .
I find that it's not an error of hexo-html-minifier but of my renderer :disappointed:
Sorry for taking your time. I've fixed it.
For example:
If a
<
and a>
appear in the same paragraph (like$a<b$, $a>v$
) or in the same inline math (like$a<b>c$
), they wont escape to<
or>
. This will make error (Parse Error) while generating static files (although the error isn't thrown for this example, it is for another file of me).