Skip to content

Commit

Permalink
fix: do not escape quotation mark characters
Browse files Browse the repository at this point in the history
fix #203
  • Loading branch information
acgnhik committed Dec 24, 2023
1 parent 293e7db commit 6cd97ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blrec/core/danmaku_dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def _make_danmu(self, msg: DanmuMsg) -> Danmu:
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),
Expand Down

0 comments on commit 6cd97ab

Please sign in to comment.