The scope of html tags should be restricted to a single markdown block (separated by empty line). Reader follows this rule but the the editor/live-preview does not.
1 Like
Hi.
Is this bug related to my question?
Hello
I discovered that Live Preview doesn’t work if file contains some “bad text” in angle brackets. I searched a lot, but haven’t find a solution.
-----------------example begin
this is a good link:
<https://forum.obsidian.md/t/trying-to-understand-what-means-does/18983/3>
<html>
this is a valid html block
</html>
# good header
<this is bad html or link tag>
# this header doesn't work in Live Preview
----------example end
Text <this is bad html or link tag> breaks Live preview after it
…
It is partially related. If you want to use angle brackets (without introducing an HTML block), you should escape them like this
\<hello here\>