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
^ found this reading the code. It's falling back on using "/n" not "\n" as the line break if detection fails, which is nonsensical. detect-newline already contains code to cover this - detectNewline.graceful(x) will return "\n" for this case. https://github.com/sindresorhus/detect-newline/blob/master/index.js#L23
The text was updated successfully, but these errors were encountered:
bazzargh
added a commit
to bazzargh/markup-it
that referenced
this issue
Jul 19, 2017
markup-it/src/html/parse.js
Line 303 in ad90bfb
^ found this reading the code. It's falling back on using "/n" not "\n" as the line break if detection fails, which is nonsensical. detect-newline already contains code to cover this - detectNewline.graceful(x) will return "\n" for this case.
https://github.com/sindresorhus/detect-newline/blob/master/index.js#L23
The text was updated successfully, but these errors were encountered: