Closed TeddyHuang-00 closed 1 year ago
It's kind of reveal limitation. As the content will be parsed by browser.
You can use zero wide space \u200b
to break these kind of characters.
I try to add a patch and it works. And I think this should be built at your side.
Alright, I think this is a solution good enough as this is a upstream issue. Thanks a lot for that!
Checklist
Package name
vuepress-theme-hope
Which operating system are you using?
Describe the bug
If presenting HTML code in slides provided by reveal.js, and if including a ending script tag (like the one below), the result slide will unexpectedly end at the
</script>
. Similar syntax works fine in normal post, see the provided repo for a full reproduction and comparison.