fix: do not escape quotation mark characters

fix #203
This commit is contained in:
acgnhik 2023-12-24 10:56:18 +08:00
parent 293e7db2d0
commit 6cd97ab3da

View File

@ -248,7 +248,7 @@ class DanmakuDumper(
text = f'{msg.uname}: {msg.text}'
else:
text = msg.text
text = html.escape(text)
text = html.escape(text, quote=False)
return Danmu(
stime=self._calc_stime(msg.date / 1000),