You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Highlighted output looks different and contains extraneous newlines in certain situations when the input code includes Windows CR characters (at least when highlighting is performed programmatically).
I've observed the same thing with Groovy under some conditions. Current workaround is to strip out Windows newlines before highlighting: input.replace(/\r/g, '');
The text was updated successfully, but these errors were encountered:
Highlighted output looks different and contains extraneous newlines in certain situations when the input code includes Windows CR characters (at least when highlighting is performed programmatically).
Here's a Plunker that illustrates this behavior for a simple XML document:
http://plnkr.co/edit/W30o3tjKQm4yeLfg8dpu?p=preview
I've observed the same thing with Groovy under some conditions. Current workaround is to strip out Windows newlines before highlighting:
input.replace(/\r/g, '');
The text was updated successfully, but these errors were encountered: