Open averagehuman opened 7 years ago
Thanks for reporting this! As an interim solution, can you try using %
instead of the percent sign characters? That might solve this issue for the time being.
That doesn't work unfortunately. The code snippets are being formatted via pygments, and you can hack things in python with:
from pygments.formatters.html import _escape_html_table
_escape_html_table[ord('%')] = u'%'
This does escape the percent sign but you end up with an identical error.
Not to worry. The 'stout create' step worked perfectly and I can fall back to 's3cmd sync' for the rest for now. Thanks.
One of my pages has some example Django template code displayed within a 'pre' block:
The actual html within the page is:
<span class="p"><</span><span class="nt">link</span> <span class="na">rel</span><span class="o">=</span><span class="s">"stylesheet"</span> <span class="na">href</span><span class="o">=</span><span class="s">"{% static 'app.css' %}"</span> <span class="p">/></span>
The error I get: