madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[livejournal] r19359: Allow enumeration media: media="screen, ...

Committer: sbelyaev
Allow enumeration media: media="screen, print".
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2011-06-24 08:22:11 UTC (rev 19358)
+++ trunk/cgi-bin/LJ/S2.pm	2011-06-24 08:59:19 UTC (rev 19359)
@@ -4798,7 +4798,7 @@
         }
 
         my $args = delete $arguments->{'args'};
-        if ( $args && $args !~ /^media="\w+"$/ ) {
+        if ( $args && $args !~ /^media="[\w+\,\s]+"$/ ) {
             undef $args;
         }
 

Tags: livejournal, madeon, 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