[YouTube] Fix regex warning: use ' {2}' instead of ' '
This commit is contained in:
parent
24e83997b4
commit
adbbdc7a5b
|
@ -812,7 +812,7 @@ public final class YoutubeParsingHelper {
|
|||
|
||||
if (html) {
|
||||
text = text.replaceAll("\\n", "<br>");
|
||||
text = text.replaceAll(" ", " ");
|
||||
text = text.replaceAll(" {2}", " ");
|
||||
}
|
||||
|
||||
return text;
|
||||
|
|
Loading…
Reference in New Issue