Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Strip whitespace so YouTube alerts are more readable.

  • Loading branch information...
commit d74e63fe58cc0f0c177c88ab363a9a30167d6d93 1 parent ffb3533
@monsieurvideo monsieurvideo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  FlashVideo/Site/Youtube.pm
View
2  FlashVideo/Site/Youtube.pm
@@ -192,7 +192,7 @@ sub check_die {
if($browser->content =~ m{class="yt-alert-content">([^<]+)}) {
$message .= "\n$1";
- $message =~ s/(?:^\s+|\s+$)//g;
+ $message =~ s/\s+/ /g;
error $message;
exit 1;
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.