Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix for regex in the postprocessCTag function
  • Loading branch information
jeanem committed Sep 4, 2025
commit c99ac0824b58ecf4d3f29a23e79a335f72d3798d
2 changes: 1 addition & 1 deletion scripts/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ var postProcessing = {
return vttContent.replace(
/<c class="([\w\s]+)">/g,
function (_, classNames) {
var classes = classNames.replace(/\./g, " ");
var classes = classNames.replace(/ /g, ".");
return "<c." + classes + ">";
}
);
Expand Down