3 Object.defineProperty(exports, '__esModule', {
6 exports.default = escapeHTML;
8 * Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
10 * This source code is licensed under the MIT license found in the
11 * LICENSE file in the root directory of this source tree.
16 function escapeHTML(str) {
17 return str.replace(/</g, '<').replace(/>/g, '>');