Hi,
I build my string with plain javascript concatenation (using += to compose it from many strings. Each += produces a line break in my string, which is exactly what I intend).
I notice (in Chrome) that, courtesy of Knockout, this results in a <br> being added in the DOM per each line break included in my string.
In chrome, the text shows well with new lines as expected.
In firefox however, the text shows as one long string, no new lines are being produced (rather, only a space is added instead).
The containing element to which the variable is bound to is a div, if it matters.
How can I get a more uniform behavior across the two browsers?
Thanks,
Matan