its already escaped by the service

This commit is contained in:
rany 2022-03-01 22:09:44 +02:00
parent 16d5dc273c
commit 1d8d56793d

View File

@ -6,7 +6,6 @@ information provided by the service easier.
"""
import math
from xml.sax.saxutils import escape
def formatter(offset1, offset2, subdata):
@ -15,7 +14,7 @@ def formatter(offset1, offset2, subdata):
"""
return (
f"{mktimestamp(offset1)} --> {mktimestamp(offset2)}\r\n"
f"{escape(subdata)}\r\n\r\n"
f"{subdata}\r\n\r\n"
)