From c99ac0824b58ecf4d3f29a23e79a335f72d3798d Mon Sep 17 00:00:00 2001 From: Jeane Marty Date: Thu, 4 Sep 2025 13:40:19 -0700 Subject: [PATCH] fix for regex in the postprocessCTag function --- scripts/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/validate.js b/scripts/validate.js index 333da339..418f749e 100644 --- a/scripts/validate.js +++ b/scripts/validate.js @@ -106,7 +106,7 @@ var postProcessing = { return vttContent.replace( //g, function (_, classNames) { - var classes = classNames.replace(/\./g, " "); + var classes = classNames.replace(/ /g, "."); return ""; } );