update HTML Encode to allow decoding across multiple lines