[dw-free] htdocs/latest.bml doesn't respect preformatted option
[commit: http://hg.dwscoalition.org/dw-free/rev/d9473c4606c7]
http://bugs.dwscoalition.org/show_bug.cgi?id=2088
Make /latest respect preformatted options.
Patch by
wyntarvox.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2088
Make /latest respect preformatted options.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/latest.bml
-------------------------------------------------------------------------------- diff -r 16f32224086c -r d9473c4606c7 htdocs/latest.bml --- a/htdocs/latest.bml Thu Nov 12 19:43:32 2009 -0600 +++ b/htdocs/latest.bml Sun Nov 15 09:06:22 2009 +0000 @@ -131,7 +131,7 @@ EOF } my $time = LJ::ago_text( $now - $obj->logtime_unix ); my $url = $obj->url; - my $evt = $obj->event_html_summary( 2000, { cuturl => $url } ); + my $evt = $obj->event_html_summary( 2000, { cuturl => $url, preformatted => $obj->prop( 'opt_preformatted' ) } ); my $comments = $obj->reply_count == 1 ? "1 comment" : ( $obj->reply_count > 0 ? $obj->reply_count . ' comments' : 'no comments' ); my $replyurl = $obj->reply_url; --------------------------------------------------------------------------------