raw.js 171 B

12345678910
  1. 'use strict'
  2. var text = require('./text')
  3. module.exports = raw
  4. /* Stringify `raw`. */
  5. function raw(ctx, node) {
  6. return ctx.dangerous ? node.value : text(ctx, node)
  7. }