juks (juks) wrote in changelog,
juks
juks
changelog

[livejournal] r18018: LJSUP-7647 Error with parsing post for J...

Committer: iaskarov
LJSUP-7647 Error with parsing post for JSON LJTimes, JSON posts ratings, lj.com posts ratings
U   trunk/cgi-bin/LJ/Text.pm
Modified: trunk/cgi-bin/LJ/Text.pm
===================================================================
--- trunk/cgi-bin/LJ/Text.pm	2011-01-13 08:30:53 UTC (rev 18017)
+++ trunk/cgi-bin/LJ/Text.pm	2011-01-13 09:00:11 UTC (rev 18018)
@@ -232,7 +232,7 @@
         unless $bytes || $chars;
         
     if($strip_html) {
-        $force_ellipsis = ($str =~ /<(img|embed|object|iframe)/i) ? 1 : 0;
+        $force_ellipsis = ($str =~ /<(img|embed|object|iframe|lj-embed)/i) ? 1 : 0;
         $str = LJ::strip_html($str, { use_space => 1 });
     }
 

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