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.26 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/pretty-format/build/plugins/lib/escapeHTML.js