yuntaozhu / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

Access to private property errors in htmlsanitizer.js #548

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1. Builds any project using goog.string.html.HtmlSanitizer with all 
--jscomp_error options enabled.
2. Closure Compiler is failed with following messages.

closure-library/third_party/closure/goog/caja/string/html/htmlsanitizer.js:539: 
ERROR - Access to private property AMP_RE_ of goog.string.html.HtmlParser not 
allowed here.
  return s.replace(goog.string.html.HtmlParser.AMP_RE_, '&').
...

Original issue reported on code.google.com by sourcewa...@gmail.com on 18 Mar 2013 at 11:52