Fix beautify-html.js for plain text