[YouTube] Fix regex warning: use ' {2}' instead of ' '

This commit is contained in:
Stypox 2022-03-18 17:21:10 +01:00
parent 24e83997b4
commit adbbdc7a5b
No known key found for this signature in database
GPG Key ID: 4BDF1B40A49FDD23
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ public final class YoutubeParsingHelper {
if (html) {
text = text.replaceAll("\\n", "<br>");
text = text.replaceAll(" ", " &nbsp;");
text = text.replaceAll(" {2}", " &nbsp;");
}
return text;