This commit is contained in:
9
node_modules/hast-util-to-html/lib/raw.js
generated
vendored
Normal file
9
node_modules/hast-util-to-html/lib/raw.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
'use strict'
|
||||
|
||||
var text = require('./text')
|
||||
|
||||
module.exports = serializeRaw
|
||||
|
||||
function serializeRaw(ctx, node) {
|
||||
return ctx.dangerous ? node.value : text(ctx, node)
|
||||
}
|
||||
Reference in New Issue
Block a user