video: fixed multispan subtitle spacing

This commit is contained in:
Thibault Deckers 2023-07-15 23:41:23 +02:00
parent 9f38585c38
commit 25753e5274

View file

@ -358,7 +358,7 @@ class AssParser {
);
}
static String _replaceChars(String text) => text.replaceAll(r'\h', UniChars.noBreakSpace).replaceAll(r'\N', '\n').trim();
static String _replaceChars(String text) => text.replaceAll(r'\h', UniChars.noBreakSpace).replaceAll(r'\N', '\n');
static int? _parseAlpha(String param) {
final match = alphaPattern.firstMatch(param);