HTML Tidy should have option to generate inline styles (style= attribute for tags) instead of <style> block. This feature should have new configuration option too to enable it (by default HT should generate <style> blocks).
I want to use HT to convert some HTML Transitional received from an external source to XHTML Strict. Currently I have to extract content of generated <body> and <style> sections separately and store them in two fields in database. This new feature used together with show-body-only option would simplify my task greatly.
Log in to post a comment.