mirror of
https://github.com/rany2/edge-tts
synced 2024-11-22 01:45:02 +00:00
its already escaped by the service
This commit is contained in:
parent
16d5dc273c
commit
1d8d56793d
@ -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"
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user