This commit is contained in:
7
node_modules/hast-util-to-mdast/lib/util/wrap-text.js
generated
vendored
Normal file
7
node_modules/hast-util-to-mdast/lib/util/wrap-text.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
'use strict'
|
||||
|
||||
module.exports = wrapText
|
||||
|
||||
function wrapText(h, value) {
|
||||
return h.wrapText ? value : value.replace(/\r?\n|\r/g, ' ')
|
||||
}
|
||||
Reference in New Issue
Block a user