From: Alan Date: Tue, 5 Jul 2022 03:55:23 +0000 (+0800) Subject: Roo/htmleditor/FilterWord.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=514244974a414cfa5d59ef5103884541fb79e650 Roo/htmleditor/FilterWord.js --- diff --git a/Roo/htmleditor/FilterWord.js b/Roo/htmleditor/FilterWord.js index b56d022a5d..520e658e0b 100644 --- a/Roo/htmleditor/FilterWord.js +++ b/Roo/htmleditor/FilterWord.js @@ -145,7 +145,7 @@ Roo.extend(Roo.htmleditor.FilterWord, Roo.htmleditor.Filter, replaceAname : function (doc) { // replace all the a/name without.. - var aa = Array.from(doc.getElementsTagName('a')); + var aa = Array.from(doc.getElementsByTagName('a')); for (var i = 0; i < aa.length; i++) { var a = aa[i]; if (a.hasAttribute("name")) {