Problem with <br> Tag in Chrome/Windows

(Kalle) #1

Hi there,
I came across a very odd issue. I´ve got textboxes, text is written inside the innerHTML-field. This is an example “code”:

You can have a look at the graphic here:

See what happens in Chrome/Win (and only there): The
tag is displayed as an ascii-like symbol.

Any idea what happens here?

Thanks in advance and best regards,

(Mark Hunte) #2

The problem is not the break tag. The problem is you have a character along with the text within the quotes. The character only shows up on PC but is not shown on Mac.



(Hans-Gerd Claßen) #3

win ff also shows this non-ascii-character … copypaste or xmlhttprequest?

(Kalle) #4

Hei Mike, your absolutely right. I can see the character in my text editor on the Mac, too. Must be a copy and paste issue - copied the text from Illustrator… Works perfectly now. I also learned from my colleague, that the correct form to set the br-tag is this way: br / Thanks a lot!! Regards, Kalle