Work around bug in SGMLParser to handle singleton tags correctly.

TinyMCEs horizontal line plugin generates `<hr/>` tags which are not handled by Pythons SGMLParser correctly. It only understands singleton tags in the form of  `<hr />`. To work around this behaviour the input stream is manipulated to match the desired format.