removed images
bzr revid: nicolas.vanhoren@openerp.com-20120813144401-cll0enjblqkh8ina
This commit is contained in:
parent
10155376c4
commit
8dfa86afd9
|
@ -8,7 +8,7 @@ def html_sanitize(x):
|
||||||
new = pq(result)
|
new = pq(result)
|
||||||
return new.html()
|
return new.html()
|
||||||
|
|
||||||
to_remove = set(["script", "head", "meta", "title", "link"])
|
to_remove = set(["script", "head", "meta", "title", "link", "img"])
|
||||||
to_unwrap = set(["html", "body"])
|
to_unwrap = set(["html", "body"])
|
||||||
|
|
||||||
def handle_a(el, new):
|
def handle_a(el, new):
|
||||||
|
|
Loading…
Reference in New Issue