From: Waylan L. <wa...@gm...> - 2006-07-24 18:07:15
|
On 7/18/06, Sergej Chodarev <se...@ce...> wrote: > 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. I don't know either. The entire normalizeEntities function was introduced with the & line commented out in version 1.0. The escaping specific to code blocks was introduced then as well. Yet the change log says nothing about it. Makes me wonder if there was some other use case where we wouldn't want escaping of & that I'm not aware of. Perhaps Yuri could shed some light on that. > > 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 / I like it. Did a little testing and *I* haven't been able to break it. > > Patch with my changes is attached. > > You may want to submit the patch[1] [1]: http://sourceforge.net/tracker/?func=add&group_id=153041&atid=790198 -- ---- Waylan Limberg wa...@gm... |