Changeset 5

Show
Ignore:
Timestamp:
02/03/06 08:02:30
Author:
miyagawa
Message:

fixed empty tags bug

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/templates/plugins/gmail_notify.tt

    r3 r5  
    55[% SET link = item.link || item.id -%] 
    66Link: <a href="[% link | html %]">[% link | html %]</a><br /> 
    7 [% IF item.author %]by [% item.author | html %][% END %][% IF item.tags %] on [% item.tags.join(',') %][% END %]</div> 
     7[% IF item.author %]by [% item.author | html %][% END %][% IF item.tags.size %] on [% item.tags.join(',') %][% END %]</div> 
    88[% IF item.body -%] 
    99[% IF item.body.match('(?i)^<p[ >]') %][% item.body %][% ELSE %]<div style="padding: 1em 0">[% item.body %]</div>[% END %]