-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated escaping to be general for ampersand and escape for srt * Moved html escaping to subtitles.go and updated tests * Move back to using acceptable list of escapable html entities
- Loading branch information
1 parent
cba5e0f
commit f285923
Showing
9 changed files
with
111 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
1 | ||
00:00:00,331 --> 00:00:03,750 | ||
The man in black fled across the desert, | ||
& the gunslinger followed. | ||
|
||
2 | ||
00:00:04,101 --> 00:00:05,430 | ||
Go, then, | ||
|
||
3 | ||
00:00:06,331 --> 00:00:09,675 | ||
there are other < worlds than these. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
WEBVTT | ||
1 | ||
00:00:00.331 --> 00:00:03.750 | ||
The man in black fled across the desert, | ||
& the gunslinger followed. | ||
|
||
2 | ||
00:00:04.101 --> 00:00:05.430 | ||
Go, then, | ||
|
||
3 | ||
00:00:06.331 --> 00:00:09.675 | ||
there are other < worlds than these. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
1 | ||
00:00:00,331 --> 00:00:03,750 | ||
The man in black fled across the desert, | ||
& the gunslinger followed. | ||
|
||
2 | ||
00:00:04,101 --> 00:00:05,430 | ||
Go, then, | ||
|
||
3 | ||
00:00:06,331 --> 00:00:09,675 | ||
there are other < worlds than these. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
WEBVTT | ||
1 | ||
00:00:00.331 --> 00:00:03.750 | ||
The man in black fled across the desert, | ||
& the gunslinger followed. | ||
|
||
2 | ||
00:00:04.101 --> 00:00:05.430 | ||
Go, then, | ||
|
||
3 | ||
00:00:06.331 --> 00:00:09.675 | ||
there are other < worlds than these. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters