--- a/ProjectWeb/Html5ToCss3Converter.py Wed Dec 31 19:16:39 2014 +0100 +++ b/ProjectWeb/Html5ToCss3Converter.py Wed Dec 31 20:38:35 2014 +0100 @@ -31,10 +31,10 @@ 'font:inherit', 'vertical-align:baseline', 'line-height:1', 'outline:0', 'font-weight:inherit', 'font-style:inherit', 'font-family:inherit', 'vertical-align:baseline') - CssToIgnore = ('head', 'meta', 'noscript', 'script', 'style', 'link', - 'no-js', 'title', 'object', 'col', 'colgroup', 'option', - 'param', 'audio', 'basefont', 'isindex', 'svg', 'area', - 'embed', 'br') + TagsToIgnore = ('head', 'meta', 'noscript', 'script', 'style', 'link', + 'no-js', 'title', 'object', 'col', 'colgroup', 'option', + 'param', 'audio', 'basefont', 'isindex', 'svg', 'area', + 'embed', 'br') def __init__(self, html, parent=None): """ @@ -60,7 +60,7 @@ # TODO: implement this self.__createSoup() - alreadyDone = list(self.CssToIgnore) + alreadyDone = list(self.TagsToIgnore) css = '@charset "utf-8";{0}'.format(os.linesep) css += "/* {0} by {1}*/{2}".format(