.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / pretty-format / build / plugins / lib / escape_html.js
1 'use strict';
2
3 Object.defineProperty(exports, '__esModule', {
4   value: true
5 });
6 exports.default = escapeHTML;
7 /**
8  * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
9  *
10  * This source code is licensed under the MIT license found in the
11  * LICENSE file in the root directory of this source tree.
12  *
13  *
14  */
15
16 function escapeHTML(str) {
17   return str.replace(/</g, '&lt;').replace(/>/g, '&gt;');
18 }