Fix html2t, script tag rendering etc