(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: "[email protected]", | |
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]); |
![](data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M224%20387.814V512L32 320l192-192v126.912C447.375 260.152 437.794 103.016 380.93 0 521.287 151.707 491.48 394.785 224 387.814z'/%3E%3C/svg%3E)
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) |