* The plain text of a chunk of HTML CDATA which possibly containing. * * TODO(goto): use `goog.string.unescapeEntities` instead ? * @param {string} s A chunk of HTML CDATA. It must not start or end inside * an HTML entity. * @return {string} The unescaped entities. * @private
(s)
| 696 | * @private |
| 697 | */ |
| 698 | unescapeEntities_(s) { |
| 699 | return s.replace(ENTITY_RE_, goog.bind(this.lookupEntity_, this)); |
| 700 | } |
| 701 | |
| 702 | /** |
| 703 | * Escape entities in RCDATA that can be escaped without changing the meaning. |