changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

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

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

U   trunk/htdocs/talkread.bml
Modified: trunk/htdocs/talkread.bml
===================================================================
--- trunk/htdocs/talkread.bml	2009-01-14 10:51:13 UTC (rev 14768)
+++ trunk/htdocs/talkread.bml	2009-01-15 04:40:44 UTC (rev 14769)
@@ -232,6 +232,9 @@
     # it works, as bytes >= chars:
     $subject = LJ::CleanHTML::clean_and_trim_subject(\$subject, length($item->{'subject'}) || 40);
     $$title = "$u->{'user'}: $subject";
+    # prevent BML tags interpretation inside post body
+    $$title =~ s/<\?/<?/g;
+    $$title =~ s/\?>/?>/g;
 }
 
  $ret .= "<p>";

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