Bug fix: Newline chars get ignored breaking <pre>

Don't ignore the newline characters while returning the final output HTML
While embedding an HTML file, only embed the contents of the <body> tag, not the whole HTML