mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 21:37:16 +08:00
[nrk] Remove whitespace in XML subtitles causing problems for .srt files
This commit is contained in:
parent
71ebd35d50
commit
3e1d4b969e
@ -2831,7 +2831,7 @@ def dfxp2srt(dfxp_data):
|
||||
self._applied_styles.pop()
|
||||
|
||||
def data(self, data):
|
||||
self._out += data
|
||||
self._out += data.strip()
|
||||
|
||||
def close(self):
|
||||
return self._out.strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user