arteman (arteman) wrote in changelog,
arteman
arteman
changelog

[livejournal] r21836: LJSUP-11986 Autoformat URLs on statushis...

Committer: azateev
LJSUP-11986 Autoformat URLs on statushistory

U   trunk/htdocs/admin/statushistory.bml
Modified: trunk/htdocs/admin/statushistory.bml
===================================================================
--- trunk/htdocs/admin/statushistory.bml	2012-04-27 13:42:04 UTC (rev 21835)
+++ trunk/htdocs/admin/statushistory.bml	2012-04-27 13:53:17 UTC (rev 21836)
@@ -101,7 +101,7 @@
                 $ret .= '<nobr>' . LJ::TimeUtil->statushistory_time($hist->{$_}) . '</nobr>';
             } elsif ($_ eq 'notes') {
                 # notes need to be ehtml'd, but afterwards, we can convert \n to <br />
-                my $enotes = LJ::ehtml($hist->{$_});
+                my $enotes = LJ::Text->wrap_urls(LJ::ehtml($hist->{$_}));
                 $enotes =~ s!\n!<br />\n!g;
                 $ret .= $enotes;
             } else {

Tags: arteman, azateev, bml, livejournal
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