This patch file may include trailing empty lines and/or trailing lines that consist solely of whitespace. If you edit this file, use software that preserves lines of this type, or you may break the patch. --- getflashvideos.old/lib/FlashVideo/Site/Mtvnservices.pm +++ getflashvideos/lib/FlashVideo/Site/Mtvnservices.pm @@ -192,6 +192,7 @@ sub from_xml_urlfix { my($xmltext) = @_; $xmltext =~ s/&(?!amp;)/&/g; # too lax? + $xmltext =~ s@^\s+@@s; return from_xml($xmltext); }