(Use the following template to add a bailout reason.)
### This is a bailout reason
- Simple reproduction(s)
| (('type', 'application/rss+xml'),), | |
| (('type', 'application/atom+xml'),), | |
| (('type', 'application/rss'),), | |
| (('type', 'application/atom'),), | |
| (('type', 'application/rdf+xml'),), | |
| (('type', 'application/rdf'),), | |
| (('type', 'text/rss+xml'),), | |
| (('type', 'text/atom+xml'),), | |
| (('type', 'text/rss'),), | |
| (('type', 'text/atom'),), |
I hereby claim:
To claim this, I am signing this object:
| [ | |
| feed: [ | |
| publisher: "webmaster@example.com", | |
| updated: "Tue, 10 Jun 2003 09:41:01 GMT", | |
| published_parsed: "Tue, 10 Jun 2003 04:00:00", | |
| subtitle: "Liftoff to Space Exploration.", | |
| language: "en-us", | |
| links: [ | |
| [ | |
| href: "http://liftoff.msfc.nasa.gov/", type: "text/html", |
| (function() { | |
| var preTags = document.getElementsByTagName('pre'); | |
| var preWithHeaderInfo = preTags[0]; | |
| var preWithContent = preTags[2]; | |
| var lines = preWithContent.textContent.split('\n'); | |
| // get data about the formatting (changes between different versions of chrome) | |
| var rgx = /^(0{8}:\s+)([0-9a-f]{2}\s+)[0-9a-f]{2}/m; | |
| var match = rgx.exec(lines[0]); |

| const fixNewLine = require('./index.js') | |
| const remark = require('remark') | |
| text = "lol\nlol\n```\nlol\nlol\n```\n> lol\n> lol" | |
| processed = remark() | |
| .use(fixNewLine) | |
| .processSync(text) | |
| console.log(processed) |