1
0
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:
Forthrin 2019-05-08 08:43:41 +02:00
parent 71ebd35d50
commit 3e1d4b969e
2 changed files with 2 additions and 2 deletions

View File

@ -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()