Closed Bug 349720 Opened 20 years ago Closed 20 years ago

Lines breaks not working in Atom summaries

Categories

(Firefox Graveyard :: RSS Discovery and Preview, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: thbley, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b2) Gecko/20060821 Firefox/2.0b2 In the summary of a RSS feed I have: <updated>2006-08-22T19:51:14+00:00</updated> <summary>[Id] 1501&lt;br&gt; [Created] 7:51 pm&lt;br&gt; [Server] tomnb&lt;br&gt; </summary> In the preview for the news feed, the summary is displayed as: [Id] 1501<br> [Created] 7:51 pm<br> [Server] tomnb<br> instead of: [Id] 1501<br> [Created] 7:51 pm<br> [Server] tomnb<br> or instead of: [Id] 1501 [Created] 7:51 pm [Server] tomnb I tried: <br>, \n and \r\n, none of them is working. Reproducible: Always Steps to Reproduce: 1. E.g. this feed: <?xml version="1.0" encoding="utf-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Events - Display - Simple Groupware</title> <link href="http://localhost/sgs/src/index.php?folder=7701&amp;view=display"/> <link rel="self" href="http://localhost/sgs/src/index.php?folder=7701&amp;view=display&amp;export=rss"/> <updated>2006-08-22T19:51:22+00:00</updated> <author><name>Simple Groupware VERSIONNUM</name></author> <id>http://localhost/sgs/src/index.php?folder=7701&amp;view=display</id> <entry> <title>Events - Display</title> <link href="http://localhost/sgs/src/index.php?folder=7701&amp;view=display"/> <id>http://localhost/sgs/src/index.php?folder=7701&amp;view=display</id> <updated>2006-08-22T19:51:22+00:00</updated> <summary></summary> </entry> <entry> <title>tomnb setup info [101]</title> <link href="http://localhost/sgs/src/index.php?folder=7701&amp;view=display&amp;item[]=101"/> <id>http://localhost/sgs/src/index.php?folder=7701&amp;view=display&amp;item[]=101</id> <updated>2006-08-18T15:07:24+00:00</updated> <summary>[Id] 101&lt;br&gt; [Created] Aug 18, 3:07 pm&lt;br&gt; [Server] tomnb&lt;br&gt; [Username] setup&lt;br&gt; [Component] info&lt;br&gt; [Message] Setup: setup-data written to ../simple_store/config.php.&lt;br&gt; </summary> </entry> </feed>
The summary tag needs a type="html" attribute. That'll stop Firefox showing the literal <br> tags, but I'm not sure whether the feed preview will allow line breaks.
Component: General → RSS Discovery and Preview
QA Contact: general → rss.preview
Summary: Lines breaks not working in RSS summaries → Lines breaks not working in Atom summaries
(In reply to comment #2) > The summary tag needs a type="html" attribute. That'll stop Firefox showing the > literal <br> tags, Correct. > but I'm not sure whether the feed preview will allow line > breaks. Beta 2 will allow them, beta 1 does not.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Thanks, using <summary type="html"> makes tags like <br>, <code>, etc. working.
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: