From: Yuri T. <qar...@gm...> - 2007-06-13 03:02:05
|
You should be able to do this with a preprocessor by simply pre-escaping all HTML, no? Alternatively, if you want a quick and dirty hack, look for the line that says: if self.safeMode and html != "<hr />" and html != "<br />": html = HTML_REMOVED_TEXT I do agree though that perhaps escaping html would be a better default. (Please do file a bug on sourceforge so that I don't forget to make this change later.) In the long term, perhaps, the new and more flexible way of managing pre-post-etc-processors would solve this problem as well. > implementation removes HTML . (like why HTML is escaped in code blocks > and not fully removed) .. An oversight on my part... > P.S.: @Yuri Takhteyev: i guess you don't really care any more since > you've already put up a wiki .. but anyway .. http://sct.sphene.net/ > is my wiki based on python-markdown (and django) I will stick with what I installed, but I do _care_ - it's good to have a Wiki based this module. Please add your project to the wiki under "Related Projects". - yuri -- http://www.freewisdom.org/ |