Forum OpenACS Development: Re: Catching HTML comments in html to text conversion

Collapse
Posted by Don Baccus on
I think it's OK. HTML comments can't nest, so your straightforward lookahead for "-->" should be fine.

Since you're stripping out HTML comments, let me tease you by pointing out that the one error I found is in a Tcl comment...

"beleive noone"

oh, I'm bad - sorry, dave! :)

I am surprised no one noticed this before, but really, relatively few people use HTML comments, particularly in static HTML files.

And only MS is crazy enough to bury formatting info for other apps as comments in an HTML file. Well, I hope that's true. It should be true, if there's justice in the world and all that.