Implement new flags
This commit is contained in:
17
tests/samples/sample1-cleaned-begin.srt
Normal file
17
tests/samples/sample1-cleaned-begin.srt
Normal file
@@ -0,0 +1,17 @@
|
||||
1
|
||||
00:00:48,900 --> 00:00:49,800
|
||||
<b>This one is full of HTML tags.</b>
|
||||
<i>Above, below, everywhere</i>
|
||||
|
||||
2
|
||||
00:00:51,800 --> 00:00:52,700
|
||||
<a href='dummy'>Even <a>'s!</a>
|
||||
|
||||
3
|
||||
00:00:56,000 --> 00:00:57,000
|
||||
<p>It should just strip all of
|
||||
them mercilessly</p>
|
||||
|
||||
4
|
||||
00:00:58,100 --> 00:00:59,600
|
||||
<ul>Including this one!</ul>
|
14
tests/samples/sample1-cut-out-begin-end.srt
Normal file
14
tests/samples/sample1-cut-out-begin-end.srt
Normal file
@@ -0,0 +1,14 @@
|
||||
1
|
||||
00:00:51,800 --> 00:00:52,700
|
||||
<a href='dummy'>Even <a>'s!</a>
|
||||
|
||||
2
|
||||
00:00:53,500 --> 00:00:55,200
|
||||
<html>The script should not
|
||||
care whether the tag is
|
||||
valid or not</html>
|
||||
|
||||
3
|
||||
00:00:56,000 --> 00:00:57,000
|
||||
<p>It should just strip all of
|
||||
them mercilessly</p>
|
18
tests/samples/sample1-cut-out-begin.srt
Normal file
18
tests/samples/sample1-cut-out-begin.srt
Normal file
@@ -0,0 +1,18 @@
|
||||
1
|
||||
00:00:51,800 --> 00:00:52,700
|
||||
<a href='dummy'>Even <a>'s!</a>
|
||||
|
||||
2
|
||||
00:00:53,500 --> 00:00:55,200
|
||||
<html>The script should not
|
||||
care whether the tag is
|
||||
valid or not</html>
|
||||
|
||||
3
|
||||
00:00:56,000 --> 00:00:57,000
|
||||
<p>It should just strip all of
|
||||
them mercilessly</p>
|
||||
|
||||
4
|
||||
00:00:58,100 --> 00:00:59,600
|
||||
<ul>Including this one!</ul>
|
4
tests/samples/sample1-cut-out-end.srt
Normal file
4
tests/samples/sample1-cut-out-end.srt
Normal file
@@ -0,0 +1,4 @@
|
||||
1
|
||||
00:00:48,900 --> 00:00:49,800
|
||||
<b>This one is full of HTML tags.</b>
|
||||
<i>Above, below, everywhere</i>
|
8
tests/samples/sample1-sample3-cut-out-end-joined.srt
Normal file
8
tests/samples/sample1-sample3-cut-out-end-joined.srt
Normal file
@@ -0,0 +1,8 @@
|
||||
1
|
||||
00:00:48,900 --> 00:00:49,800
|
||||
<b>This one is full of HTML tags.</b>
|
||||
<i>Above, below, everywhere</i>
|
||||
|
||||
2
|
||||
10:03:49,800 --> 10:05:02,000
|
||||
This one has even more whitespace!
|
8
tests/samples/sample1-shifted-minus-1h-begin.srt
Normal file
8
tests/samples/sample1-shifted-minus-1h-begin.srt
Normal file
@@ -0,0 +1,8 @@
|
||||
1
|
||||
00:00:48,900 --> 00:00:49,800
|
||||
<b>This one is full of HTML tags.</b>
|
||||
<i>Above, below, everywhere</i>
|
||||
|
||||
2
|
||||
00:00:51,800 --> 00:00:52,700
|
||||
<a href='dummy'>Even <a>'s!</a>
|
23
tests/samples/sample1-stripped-end.srt
Normal file
23
tests/samples/sample1-stripped-end.srt
Normal file
@@ -0,0 +1,23 @@
|
||||
1
|
||||
00:00:48,900 --> 00:00:49,800
|
||||
This one is full of HTML tags.
|
||||
Above, below, everywhere
|
||||
|
||||
2
|
||||
00:00:51,800 --> 00:00:52,700
|
||||
Even 's!
|
||||
|
||||
3
|
||||
00:00:53,500 --> 00:00:55,200
|
||||
The script should not
|
||||
care whether the tag is
|
||||
valid or not
|
||||
|
||||
4
|
||||
00:00:56,000 --> 00:00:57,000
|
||||
<p>It should just strip all of
|
||||
them mercilessly</p>
|
||||
|
||||
5
|
||||
00:00:58,100 --> 00:00:59,600
|
||||
<ul>Including this one!</ul>
|
Reference in New Issue
Block a user