Topic: Preserve html head
hi,
First, fantastic work !
I know that htmlawed is designed to handel body contents of html files only. Is there any chance to preserve extra body contents (doctype declaration and all contents in head)?
I'm using the rewriting utility to prepare an html file (convert relative urls to absolute. and for removring all javascript and object tags) before passing my html to a custom application.
I've tried to set parent directive 'html' with no effect.
ps : to make oo version more pretty i suggest :
1) replace htmLawed::* calls by self::*
1) replace $GLOBALS variable usage by a static class attributes
Thanks