From 514244974a414cfa5d59ef5103884541fb79e650 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 5 Jul 2022 11:55:23 +0800 Subject: [PATCH] Roo/htmleditor/FilterWord.js --- Roo/htmleditor/FilterWord.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) { -- 2.39.2