Bug 42249 - clean up News Module xhtml output
Summary: clean up News Module xhtml output
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: Trunk
Hardware: Other other
: P2 normal
Target Milestone: 2.0.1
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 08:25 UTC by Juergen Ragaller
Modified: 2007-07-16 02:30 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Ragaller 2007-04-25 08:25:26 UTC
The following xhtml snippet from the news module ist not valid xhtml (@ present
this is the only error in the default pub's homepage):

<h2>
<div class="newsDate"><i18n:date-time src-pattern="yyyy-MM-dd hh:mm:ss"
locale="{$language}" value="{$date}" />
</div>
</h2>

I'd suggest to use <h2 class="newsDate"><i18n: ... instead.
Comment 1 J 2007-04-25 08:49:03 UTC
fixed in trunk. but the news module does need some cleanup. it makes way too
many assumptions about xhtml output and even styling. but hey it's cool! now the
goal is not to allow it to morph from a good prototype into an ugly legacy...
i'm putting it on the agenda for 1.4.1