diff --git a/LunaTranslator/LunaTranslator/rendertext/webview.py b/LunaTranslator/LunaTranslator/rendertext/webview.py index 75a2b03a..45869647 100644 --- a/LunaTranslator/LunaTranslator/rendertext/webview.py +++ b/LunaTranslator/LunaTranslator/rendertext/webview.py @@ -179,6 +179,12 @@ class TextBrowser(QWidget, dataget): fm, fs, bold = self._getfontinfo(origin) text = self.gen_html(text, fm, fs, bold, atcenter, color) + _id_wrap = f"luna_{uuid.uuid4()}" + text = f"""