Re: [PyCS-devel] html_cleaner.py is not safe
Status: Alpha
Brought to you by:
myelin
|
From: Phillip P. <pp...@my...> - 2003-10-12 22:11:44
|
I just checked out html_cleaner.py and got it to leave entities alone. Also got it to keep track of open tags and to: - discard closing tags with no matching opening tag - close all unclosed tags at the end of the comment That means: <b>foo -> <b>foo</b> and foo</b> -> foo also <foo> -> <foo> Georg - this all happens when the comment is displayed, not saved, because otherwise bugs like this would result in permanently damaged comments. This way, as soon as a fix is checked in, all comments suddenly start working :-) Cheers, Phil |