2

I just started learning JavaScript and I have a small problem. I have a text file with some text in it. I can read the content of the text file in browser (I mean in .hta) but the text appears as a single line. I want to add line breaks to each line. How do I do that?

Text file content:
I want to live where soul meets body
And let the sun wrap its arms around me

JS:

var fso = new ActiveXObject("Scripting.FileSystemObject");
var txtFile = fso.OpenTextFile("C:\myJS\test.txt", 1, false, 0);
var fText = txtFile.Read(1000);
document.write(fText);
txtFile.Close();
fso = null;

The output:
I want to live where soul meets body And let the sun wrap its arms around me …

Any advice, suggestion is appreciated.