diff --git a/closure/goog/html/safehtml.js b/closure/goog/html/safehtml.js index 8c8f263c6c..89eb69d6de 100644 --- a/closure/goog/html/safehtml.js +++ b/closure/goog/html/safehtml.js @@ -511,6 +511,7 @@ class SafeHtml { * @throws {!Error} If invalid attribute name or attribute value is provided. * If attributes contains the * language, src or text attribute. + * @deprecated Use safevalues.scriptToHtml instead. */ static createScript(script, attributes = undefined) { for (let attr in attributes) {