MultiLine text graphic in Google Chrome

Discussion created by msbsmith on Jan 2, 2013

I have written a tool to allow users to place graphic text on the map.  They enter the text they want into a <textarea> element, then click the map to place the text.  If the user enters multiple lines of text in the textarea box then in IE the text appears as it should on the map - in multiple lines.  However in Google Chrome the text is reduced to a single line when it appears on the map as a graphic.

Using JavaScript I can analyse the inputted text and count the number of \n (new lines), so I suppose I could replace the \n that occur in the text with something else that Chrome will interpret as a new line, but I don't know what that would be.

Does anyone have any suggestions please?

Thank you,