#247 Inaccurate rendering in "Join fedora" page under "Latest Announcements" section.
Closed: Fixed None Opened 13 years ago by susmit.

Screenshot attached.


Something's messed up with my git so I can't test it myself. But isn't it as simple as changing line 85 in join-fedora.html?

entry.summary doesn't parse HTML
but if you use entry.description, it should

I tried the suggestion, however, that doesn't help.

The problem appears with text like this in the feed:

{{{
<description>Jared K. Smith: Results of Fedora 16 Release Name Voting: The voting has concluded for the Fedora 16 release name, and the
results are in! Thank you to the Fedora community members who made
name suggestions and participated in the voting.
&lt;br /&gt;
The Fedora 16 release name is: Verne
&lt;br /&gt;
Voting period: Tuesday 2011-04-05 00:00:00 to Monday 2011-04-11 23:59:59 [...]</description>
}}}

(Notice the text "&lt;br /&gt;".)

Regardless if i use entry.summary or entry.description, I still get this output in the page:

{{{
Jared K. Smith: Results of Fedora 16 Release Name Voting: The voting has concluded for the Fedora 16 release name, and the results are in! Thank you to the Fedora community members who made name suggestions and participated in the voting.
The Fedora 16 release name is: Verne
Voting period: Tuesday 2011-04-05 00:00:00 to Monday 2011-04-11 23:59:59 [...]
}}}

We are rendering the html code that included in the feed. Looks like we'll have to fix the way the rss feed or whip up some python magic to stop this behaviour.

We've removed the summary and just left the title.

Login to comment on this ticket.

Metadata
Attachments 1
Attached 13 years ago View Comment