diff --git a/LunaTranslator/LunaTranslator/gui/usefulwidget.py b/LunaTranslator/LunaTranslator/gui/usefulwidget.py index 37b482d8..82795ad6 100644 --- a/LunaTranslator/LunaTranslator/gui/usefulwidget.py +++ b/LunaTranslator/LunaTranslator/gui/usefulwidget.py @@ -864,6 +864,21 @@ class QWebWrap(abstractwebview): t.timeout.emit() t.start() + def parsehtml(self, html): + if nowisdark(): + html = ( + html + + """ + """ + ) + return html + def set_zoom(self, zoom): self.internal_zoom = zoom self.internal.setZoomFactor(zoom)