Hi,
It seems that I solved the problem with escaping & and <
For solving escaping of & I uncommented an tuple on line 109. I don't
know why it was commented. Then I commented escaping of & in code
blocks, because it is not needed now.
Problem with < was caused by the fact that Python Markdown considered,
that everything between < and > is HTML tag. So I changed regular
expression, so now after < must follow some letter or /
Patch with my changes is attached.
|