changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r14767: LJSUP-3593: BML block 'PHP' has no close...

Committer: ssafronova
LJSUP-3593: BML block 'PHP' has no close

U   trunk/htdocs/preview/entry.bml
Modified: trunk/htdocs/preview/entry.bml
===================================================================
--- trunk/htdocs/preview/entry.bml	2009-01-14 04:01:21 UTC (rev 14766)
+++ trunk/htdocs/preview/entry.bml	2009-01-14 04:47:08 UTC (rev 14767)
@@ -185,10 +185,10 @@
         $ret .= $sec;
 
         # prevent BML tags interpretation inside post body
-        $subject =~ s/<\?/<?/g;
-        $subject =~ s/\?>/?>/g;
-        $event =~ s/<\?/<?/g;
-        $event =~ s/\?>/?>/g;
+        $subject =~ s/<\?/<?/g;
+        $subject =~ s/\?>/?>/g;
+        $event =~ s/<\?/<?/g;
+        $event =~ s/\?>/?>/g;
 
         ###
         if ($subject) {
@@ -307,6 +307,9 @@
         });
 
         LJ::S2::s2_run($r, $ctx, $opts, "EntryPage::print()", $p);
+        # prevent BML tags interpretation inside post body
+        $ret =~ s/<\?/<?/g;
+        $ret =~ s/\?>/?>/g;
     }
     return $ret;
 }

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