better html string support

fixes #34

I also cleaned up a non-related test case that wasn't fully testing what it thought it was.  I can pull that into a separate commit if needed.