忘记对语音转的文字escape了

This commit is contained in:
STDquantum 2023-12-16 12:58:29 +08:00
parent b1f42aa0bb
commit 777756ae5a

View File

@ -258,7 +258,7 @@ class ChildThread(QThread):
modify_audio_metadata(audio_path, creatorName)
os.utime(audio_path, (timestamp, timestamp))
audio_path = audio_path.replace('\\', '/')
voice_to_text = media_msg_db.get_audio_text(str_content)
voice_to_text = escape_js_and_html(media_msg_db.get_audio_text(str_content))
except:
return
if self.is_5_min(timestamp):