Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r16214: LJSUP-5486: lj-cut and lj-embed works in...

Committer: gariev
LJSUP-5486: lj-cut and lj-embed works incorrectly with Cyrillic texts
U   trunk/cgi-bin/LJ/EmbedModule.pm
Modified: trunk/cgi-bin/LJ/EmbedModule.pm
===================================================================
--- trunk/cgi-bin/LJ/EmbedModule.pm	2010-02-05 10:39:54 UTC (rev 16213)
+++ trunk/cgi-bin/LJ/EmbedModule.pm	2010-02-05 11:08:59 UTC (rev 16214)
@@ -170,7 +170,7 @@
         $tag = lc $tag;
         my $newstate = undef;
         my $reconstructed = $class->reconstruct($token);
-
+        
         if ($state == REGULAR) {
             if ($tag eq 'lj-embed' && $type eq 'S' && ! $attr->{'/'}) {
                 # <lj-embed ...>, not self-closed
@@ -463,9 +463,6 @@
                 next;
             }
 
-            # FIXME: ultra ghetto.
-            $attr->{$name} = LJ::no_utf8_flag($attr->{$name});
-
             my $tribute = " $name=\"" . LJ::ehtml($attr->{$name}) . "\"";
 
             # FIXME: This fixes problems caused by using ehtml on URLs

Tags: gariev, 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