src/eric7/WebBrowser/Bookmarks/NsHtmlReader.py

branch
eric7
changeset 10928
46651e194fbe
parent 10692
9becf9ca115c
child 11090
f5f5f5803935
--- a/src/eric7/WebBrowser/Bookmarks/NsHtmlReader.py	Thu Sep 26 09:48:49 2024 +0200
+++ b/src/eric7/WebBrowser/Bookmarks/NsHtmlReader.py	Thu Sep 26 15:49:36 2024 +0200
@@ -11,7 +11,7 @@
 
 from PyQt6.QtCore import QDateTime, QFile, QIODevice, QObject
 
-from eric7 import Utilities
+from eric7 import EricUtilities
 
 from .BookmarkNode import BookmarkNode, BookmarkNodeType
 
@@ -80,7 +80,7 @@
                 arguments = match.group(1)
                 name = match.group(2)
                 node = BookmarkNode(BookmarkNodeType.Folder, folders[-1])
-                node.title = Utilities.html_udecode(name)
+                node.title = EricUtilities.html_udecode(name)
                 node.expanded = self.__foldedRx.search(arguments) is None
                 addedMatch = self.__addedRx.search(arguments)
                 if addedMatch is not None:
@@ -97,7 +97,7 @@
                 arguments = match.group(1)
                 name = match.group(2)
                 node = BookmarkNode(BookmarkNodeType.Bookmark, folders[-1])
-                node.title = Utilities.html_udecode(name)
+                node.title = EricUtilities.html_udecode(name)
                 match1 = self.__urlRx.search(arguments)
                 if match1 is not None:
                     node.url = match1.group(1)
@@ -115,7 +115,7 @@
             elif match.re is self.__descRx:
                 # description
                 if lastNode:
-                    lastNode.desc = Utilities.html_udecode(match.group(1))
+                    lastNode.desc = EricUtilities.html_udecode(match.group(1))
 
             elif match.re is self.__separatorRx:
                 # separator definition

eric ide

mercurial