wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r22719: LJSUP-13336: Capital letter in the tags

Committer: wisest-owl
LJSUP-13336: Capital letter in the tags

U   trunk/cgi-bin/ljlib.pl
Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2012-08-22 09:09:34 UTC (rev 22718)
+++ trunk/cgi-bin/ljlib.pl	2012-08-22 14:24:02 UTC (rev 22719)
@@ -2509,6 +2509,7 @@
     # setup the keyword for use
     unless ($kw =~ /\S/) { return 0; }
     $kw = LJ::text_trim($kw, LJ::BMAX_KEYWORD, LJ::CMAX_KEYWORD);
+    $kw = LJ::Text->normalize_tag_name ($kw);
 
     # get the keyword and insert it if necessary
     my $kwid;

Tags: livejournal, pl, wisest-owl
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