diff --git a/LunaTranslator/LunaTranslator/rendertext/webview.html b/LunaTranslator/LunaTranslator/rendertext/webview.html index 3a06810e..92533cf8 100644 --- a/LunaTranslator/LunaTranslator/rendertext/webview.html +++ b/LunaTranslator/LunaTranslator/rendertext/webview.html @@ -195,7 +195,7 @@ let lines = text.split('\n') let wrap = document.createElement('div') lines.forEach(line => { - wrap.appendChild(dispatch_text_style_line(style, styleargs, text, args)) + wrap.appendChild(dispatch_text_style_line(style, styleargs, line, args)) }) return wrap }