Commit graph

2 commits

Author SHA1 Message Date
jakubvrana
1ecf3db5fc Use goog.dom.safeHtmlToNode instead of deprecated htmlToDocumentFragment.
goog.dom.htmlToDocumentFragment is going to be removed in [] It is removed because its usage can cause XSS.

More information: []

Tested:
    TAP --sample for global presubmit queue
    []
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116081948
2016-03-04 16:12:49 -05:00
Justine Tunney
0ef0c933d2 Import code from internal repository to git 2016-03-01 17:59:16 -05:00