Strip \r from HTML

Adds support for Windows newlines