Tidy changes javascript code

Dear Sir,

would you please tell me, why tidy (version of 13th january 2000) changes the following java script line

parent.FRAME2.document.write("</HEAD><BODY><H1>" + Titel + "</H1></BODY></HTML>");

to

parent.FRAME2.document.write("<\/HEAD><BODY><H1>" + Titel + "<\/H1><\/BODY><\/HTML>");

adding a backslash in front of every slash in the html-tags. I could not find this syntax rule in any of my html-books.

Kind Regards

Thomas Appel
Hugo-Asbach-Str. 9
D-65385 Rüdesheim am Rhein
Germany

Email: thomas.appel@arcormail.de

Received on Sunday, 25 June 2000 19:32:12 UTC