Problem with <br> Tag in Chrome/Windows

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: http://dpa-webgrafik.s3.amazonaws.com/webgrafik/items/aktuell/2017_01_17/wg_start/index_wahl.html

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,
Kalle

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.

Mac.

PC

2 Likes

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

1 Like

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

1 Like