We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2f5577f + 2cb553f commit 37b976bCopy full SHA for 37b976b
scripts/validate.js
@@ -185,8 +185,9 @@ var validate = {
185
var processedLangTags = postProcessing.postprocessLangTag(processedVTags);
186
187
var arrowReplaced = processedLangTags.replace(/-->/g, "-->");
188
+ var timestampTagReplaced = arrowReplaced.replace(/<([\d:.]+)>/g, '<$1>');
189
- var finalContent = arrowReplaced.replace(
190
+ var finalContent = timestampTagReplaced.replace(
191
/<\/v>/g,
192
function (match, offset) {
193
return originalVttContent.indexOf(match, offset) !== -1 ? match : "";
0 commit comments