![]() Because the `_computeAccountTitle` method was only used in a binding to an HTML attribute, the manual HTML escaping performed in that method was in not needed. Since removing this, the only use-site for the `util.escapeHTML` function is the `GrDiffBuilder`. To discourage general use of manual HTML escaping (in favor of default escaping in Polymer bindings) -- as well as to lighten util.js -- the escapeHTML function is moved into `GrDiffBuilder`, its regex is made a constant, and is given a unit test. Change-Id: I28c9f546cf50461e96995ecd6da8653e75554023 |
||
---|---|---|
.. | ||
util.js |