Sha256: eff6c3d5c67a5c1255427385d8aed64bee197a59320638340781c0b513b4779b

Contents?: true

Size: 408 Bytes

Versions: 32

Compression:

Stored size: 408 Bytes

Contents

'use strict';

Object.defineProperty(exports, '__esModule', {
  value: true
});
exports.default = escapeHTML;

/**
 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
function escapeHTML(str) {
  return str.replace(/</g, '&lt;').replace(/>/g, '&gt;');
}

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
clapton-0.0.6 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.1 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
decidim-0.27.1 packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
decidim-0.26.4 packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
decidim-0.27.0 packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
decidim-0.26.3 packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
decidim-0.27.0.rc2 packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
decidim-0.27.0.rc1 packages/webpacker/node_modules/pretty-format/build/plugins/lib/escapeHTML.js