spec/uglify/core.js
function restoreExpr(html, pcex) {
  if (pcex.length) {
    html = html
      .replace(/\u0001(\d+)/g, function (_, d) {
        var expr = pcex[d]
        if (expr[0] === '=') {
          expr = expr.replace(brackets.R_STRINGS, function (qs) {
            return qs //.replace(/&/g, '&amp;') // I don't know if this make sense
              .replace(/</g, '&lt;')
              .replace(/>/g, '&gt;')
          })
        }
        return pcex._bp[0] + expr.replace(/"/g, '\u2057')
      })
  }
  return html
}
function restoreExpr(html, pcex) {
  if (pcex.length) {
    html = html
      .replace(/\u0001(\d+)/g, function (_, d) {
        var expr = pcex[d]
        if (expr[0] === '=') {
          expr = expr.replace(brackets.R_STRINGS, function (qs) {
            return qs //.replace(/&/g, '&amp;') // I don't know if this make sense
              .replace(/</g, '&lt;')
              .replace(/>/g, '&gt;')
          })
        }
        return pcex._bp[0] + expr.replace(/"/g, '\u2057')
      })
  }
  return html
}
function restoreExpr ( html , pcex ) { if ( pcex . length ) { html = html . replace ( / \u0001(\d+) / g , function ( _ , d ) { var expr = pcex [ d ] if ( expr [ 0 ] === '=' ) { expr = expr . replace ( brackets . R_STRINGS , function ( qs ) { return qs //.replace(/&/g, '&amp;') // I don't know if this make sense . replace ( / < / g , '&lt;' ) . replace ( / > / g , '&gt;' ) } ) } return pcex . _bp [ 0 ] + expr . replace ( / " / g , '\u2057' ) } ) } return html }
Restores expressions hidden by splitHtml and escape literal internal brackets
Restores expressions hidden by splitHtml and escape literal internal brackets