raw:: html builds for pages and don't for posts
Closed this issue · 2 comments
f-fouad commented
I tried to insert a youtube video on a post when I found this bug. If I test it on a page under doc/ or pages/, the site builds and the video is embedded. But in a post, the site doesn't build.
writing additional files...
Exception occurred:
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
ExpatError: mismatched tag: line 5, column 2
You can experiment this bug with adding a simple raw html code like this one :
.. raw:: html
<div style="margin-top:20px;">
<hr>
</div>
phillipsj commented
Another confirmation here. I also tried this in the interactive shell and it throws the same error.
vladris commented
Should be fixed with patch.py rewrite with pyquery