src/eric7/QScintilla/Exporters/ExporterHTML.py

branch
eric7
changeset 10928
46651e194fbe
parent 10496
f9925e08dbce
child 11090
f5f5f5803935
--- a/src/eric7/QScintilla/Exporters/ExporterHTML.py	Thu Sep 26 09:48:49 2024 +0200
+++ b/src/eric7/QScintilla/Exporters/ExporterHTML.py	Thu Sep 26 15:49:36 2024 +0200
@@ -19,7 +19,7 @@
 from PyQt6.QtGui import QFontInfo
 from PyQt6.QtWidgets import QInputDialog
 
-from eric7 import Preferences, Utilities
+from eric7 import EricUtilities, Preferences
 from eric7.EricGui.EricOverrideCursor import EricOverrideCursor
 from eric7.EricWidgets import EricMessageBox
 from eric7.UI.Previewers import MarkdownExtensions, PreviewerHTMLStyles
@@ -375,7 +375,7 @@
                             column -= 1  # will be incremented again later
                         elif len(utf8Ch) == utf8Len:
                             ch = utf8Ch.decode("utf8")
-                            html += Utilities.html_encode(ch)
+                            html += EricUtilities.html_encode(ch)
                             utf8Ch = b""
                             utf8Len = 0
                         else:

eric ide

mercurial