diff -r 25c13e5b12bd -r 77ee26df178f devtools/htmlparser.py --- a/devtools/htmlparser.py Wed Apr 22 16:51:29 2009 +0200 +++ b/devtools/htmlparser.py Wed Apr 22 16:54:23 2009 +0200 @@ -4,10 +4,7 @@ from lxml import etree -from cubicweb.view import STRICT_DOCTYPE, TRANSITIONAL_DOCTYPE, CW_XHTML_EXTENSIONS - -STRICT_DOCTYPE = str(STRICT_DOCTYPE % CW_XHTML_EXTENSIONS).strip() -TRANSITIONAL_DOCTYPE = str(TRANSITIONAL_DOCTYPE % CW_XHTML_EXTENSIONS).strip() +from cubicweb.view import STRICT_DOCTYPE, TRANSITIONAL_DOCTYPE ERR_COUNT = 0