View Single Post
Old 07-16-2010, 06:21 PM   #35
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,822
Karma: 5006091
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you want to neglect style information in style attibutes, the easiest way is to just stop the parsing of those attributes. Look at the __init__ method in Stylizer that's where all css from the input document is read and parsed.
kovidgoyal is online now   Reply With Quote