I have done text replacement in Javascript such that the <br /> tag will be replaced by the \n\r . This seems to work in IE8.0 but not in chrome and firefox. why is that so? How can I make it work in chrome and firefox. Why does chrome and firefox not consider <br/> tags as <br/> but rather <br>?
I have done text replacement in Javascript such that the <br /> tag will
Share
This seems to be working fine everywhere: