From 6cd97ab3da7b556b5fca6c0ec6062e62a7840493 Mon Sep 17 00:00:00 2001 From: acgnhik Date: Sun, 24 Dec 2023 10:56:18 +0800 Subject: [PATCH] fix: do not escape quotation mark characters fix #203 --- src/blrec/core/danmaku_dumper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blrec/core/danmaku_dumper.py b/src/blrec/core/danmaku_dumper.py index f586b1b..f1f46e9 100644 --- a/src/blrec/core/danmaku_dumper.py +++ b/src/blrec/core/danmaku_dumper.py @@ -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),