Thanks for your revert.
The example I gave you is just a situation that would be loaded from the recordset. We have a back end where user can enter the description in a text editor (HTML Supported code is created) and this description shows up in the infowindow.
Now, if the user enters
hi how are (return)
the text editor generates the following code
hi how are <br />
he gets an error since the code goes to line 2 after <br/>
What can I do to make sure that a return does not cause this