cv1 = secondLastC.join(nl) ''+nl+ document.editor.temp.value = o.join(t) escape % character to %% (for printf formatting string) Do new devs get fired if they can't solve a certain bug? function unloadClipboard(){ //document.editor.btOpt.click(); function convertToCSharpSc() document.editor.temp.value = m.join('\\"') alert(msg) ''+nl+ ' document.clock.clk.value = timeValue;'+nl+ secondLastC = bulkval.split(nl+nl) ''+nl+ function convertToCplusc() let's create a webpage from scratch Try the HTML conversion with a WORD test file. By Abexsoft. This service is a versatile Word to HTML converter. r5 = q5.join("i>") Switch to the HTML tab and clean the code. var bulkval = document.editor.temp.value function convertToCSharpb() var bulkval = document.editor.temp.value document.editor.temp.value = nxt8 sc = ''; cv1 = secondLastC.join(nl) '+br+br+ var bulk = document.editor.temp1.value ' td {font-size:8pt;font-family:MS Sans Serif}'+nl+ I think you might find this helpful if you are still on it. '