arteman (arteman) wrote in changelog,
arteman
arteman
changelog

[livejournal] r21853: LJSUP-11986: Autoformat URLs on statushi...

Committer: azateev
LJSUP-11986: Autoformat URLs on statushisotry
U   trunk/cgi-bin/LJ/Text.pm
Modified: trunk/cgi-bin/LJ/Text.pm
===================================================================
--- trunk/cgi-bin/LJ/Text.pm	2012-04-28 09:40:03 UTC (rev 21852)
+++ trunk/cgi-bin/LJ/Text.pm	2012-04-28 09:45:15 UTC (rev 21853)
@@ -402,7 +402,7 @@
     };
     ## URL is http://anything-here-but-space-and-quotes/and-last-symbol-isn't-space-comma-period-etc
     ## like this (http://example.com) and these: http://foo.bar, http://bar.baz.
-    $text =~ s!(https?://[^\s\'\"\<\>]+[^\s\'\"\<\>\.\,\?\:\)])! $match->($1) !ge;
+    $text =~ s!(https?://[^\s\'\"\<\>]+[^\s\'\"\<\>\.\,\?\:\;\)])! $match->($1) !ge;
     $text =~ s|&url(\d+);(.*?)&urlend;|$tag_a->($1,$2)|ge;
     
     return $text;

Tags: arteman, azateev, livejournal, pm
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments