Let width and height attributes

pull/65/head
Miguel Galves 10 years ago committed by Yuri Baburov
parent f1759c1404
commit be2a1c4646

@ -2,7 +2,7 @@
import re
from lxml.html.clean import Cleaner
bad_attrs = ['width', 'height', 'style', '[-a-z]*color', 'background[-a-z]*', 'on*']
bad_attrs = ['style', '[-a-z]*color', 'background[-a-z]*', 'on*']
single_quoted = "'[^']+'"
double_quoted = '"[^"]+"'
non_space = '[^ "\'>]+'

Loading…
Cancel
Save