Brian Sutherland <br...@vanguardistas.net> added the comment:

I've just discovered yet another way in which lxml is mangling my HTML. I'm fed 
up with fixing 
around the edges.

So in the next week or so, I will try re-implement regular expressions to find 
and replace the 
<img> tags. Given that malthe seems to think it's a reasonable idea I'll do it 
inside repoze.bitblt 
on a branch first.

So, any ideas on how to robustly find <img> tags in HTML via regexes? Any 
example 
implementations? 

Also, what kind of backwards compatibility does repoze.bitblt require? Should I 
replace the 
existing rewrite_image_tags or implement a new one alongside and implement some 
kind of 
configurability into ImageTransformationMiddleware?

__________________________________
Repoze Bugs <b...@bugs.repoze.org>
<http://bugs.repoze.org/issue103>
__________________________________
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to