Implemented: attrs are run through sanitizer.
Added: test for unknown attr error.
Implemented: html generation.