1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

Update TTML->SRT conversion test

This commit is contained in:
Niklas 2018-10-02 20:33:40 +02:00
parent 7ecd95aa91
commit 582e1d10e7
No known key found for this signature in database
GPG Key ID: C7070AE8E74845B8

View File

@ -1196,18 +1196,15 @@ The first line
srt_data = '''1 srt_data = '''1
00:00:02,080 --> 00:00:05,839 00:00:02,080 --> 00:00:05,839
<font color="white" face="sansSerif" size="16">default style<font color="red">custom style</font></font> <font color="white" face="sansSerif" size="16">default style<font color="red">custom style</font></font>
2
00:00:02,080 --> 00:00:05,839
<b><font color="cyan" face="sansSerif" size="16"><font color="lime">part 1 <b><font color="cyan" face="sansSerif" size="16"><font color="lime">part 1
</font>part 2</font></b> </font>part 2</font></b>
3 2
00:00:05,839 --> 00:00:09,560 00:00:05,839 --> 00:00:09,560
<u><font color="lime">line 3 <u><font color="lime">line 3
part 3</font></u> part 3</font></u>
4 3
00:00:09,560 --> 00:00:12,359 00:00:09,560 --> 00:00:12,359
<i><u><font color="yellow"><font color="lime">inner <i><u><font color="yellow"><font color="lime">inner
</font>style</font></u></i> </font>style</font></u></i>