Closed dz4k closed 1 year ago
@dz4k Yes, It was fixed in v0.7.2.
The last version of Lume uses v0.7.1 so quick workaround is to configure the import map to replace it with the last version.
In 0.7.2, there is a slightly different bug where including the string \`
causes the same issue.
Mmm, I just added this test and it works fine. Can I have an example of content causing the same issue?
{{ set version = '1.0.13' }}
missing.css is the CSS library we wished already existed.
Add it to your website: \`<link rel="stylesheet" href="https://unpkg.com/missing.css@{{version}}/dist/missing.min.css">\`{.lang-html}
In the test case, the backslash gets eaten by JavaScript and the test is the same as the one above:
"\`" === "`"
true
Okay, I think it's fixed now. Can you check it before releasing a new version?
Works on my end.
(p.s. I think this can be made simpler using JSON.stringify -- lmk if you want a PR).
@dz4k Oh, I had not thought of it. Please, feel free to do a PR.
v0.7.3 released. Thanks for your help!
Before this merge there were some issues with KaTeX and MathJax. Now everything is working. Thanks, guys.
Using backticks in the page content causes syntax errors: