index.js 662 B

123456789101112131415
  1. /**
  2. * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
  3. * Build: `lodash modularize modern exports="npm" -o ./npm/`
  4. * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
  5. * Based on Underscore.js 1.5.2 <http://underscorejs.org/LICENSE>
  6. * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  7. * Available under MIT license <http://lodash.com/license>
  8. */
  9. var htmlEscapes = require('lodash._htmlescapes'),
  10. keys = require('lodash.keys');
  11. /** Used to match HTML entities and HTML characters */
  12. var reUnescapedHtml = RegExp('[' + keys(htmlEscapes).join('') + ']', 'g');
  13. module.exports = reUnescapedHtml;