Changeset 1646

Show
Ignore:
Timestamp:
09/01/05 16:17:07
Author:
miyagawa
Message:

description block is only displayed when it's there
added <br clear="all" /> after the footer

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • bloglines2email/trunk/bloglines2email

    r1645 r1646  
    116116Link: <a href="[% link | html %]">[% link | html %]</a><br /> 
    117117[% IF item.dc.creator %]by [% item.dc.creator | html %][% END %][% IF item.dc.subject %] on [% item.dc.subject %][% END %]</div> 
    118 <div[% UNLESS item.description.match('(?i)^<p[ >]') %] style="padding: 1em 0"[% END %]>[% item.description %]</div> 
    119 <div style="font-size:0.8em">[% IF item.pubDate %]Posted on [% get_rfc2822_date(item.pubDate) %][% END %] | <a href="[% link | html %]">permalink</a> | <a href="[% feed.link | html %]">[% feed.title | html %]</a></div> 
     118[% IF item.description -%] 
     119[% IF item.description.match('(?i)^<p[ >]') %][% item.description %][% ELSE %]<div style="padding: 1em 0">[% item.description %]</div>[% END %] 
     120[%- END %] 
     121<div style="font-size:0.8em">[% IF item.pubDate %]Posted on [% get_rfc2822_date(item.pubDate) %][% END %] | <a href="[% link | html %]">permalink</a> | <a href="[% feed.link | html %]">[% feed.title | html %]</a><br clear="all" /></div> 
    120122</div> 
    121123HTML