added option to turn off "strict" mode, in which case tags are not required to be valid HTML tags
0.0.6