I got to know that some older version of browser take new line character as single space.
Is there a method to revert back to that newline character when the content is copied?
any suggestion?
I got to know that some older version of browser take new line character
Share
This is not possible when copying the rendered output; however if you can leverage the underlying markup you could obviously treat a newline as you desire before moving it to the clipboard.
You have to remember that the browser treats line breaks as white space characters and thus condenses the white space characters as it renders the markup.