Closed
Bug 349720
Opened 18 years ago
Closed 18 years ago
Lines breaks not working in Atom summaries
Categories
(Firefox Graveyard :: RSS Discovery and Preview, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: thbley, Unassigned)
Details
Attachments
(1 file)
25.18 KB,
image/png
|
Details |
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<br> [Created] 7:51 pm<br> [Server] tomnb<br> </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&view=display"/> <link rel="self" href="http://localhost/sgs/src/index.php?folder=7701&view=display&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&view=display</id> <entry> <title>Events - Display</title> <link href="http://localhost/sgs/src/index.php?folder=7701&view=display"/> <id>http://localhost/sgs/src/index.php?folder=7701&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&view=display&item[]=101"/> <id>http://localhost/sgs/src/index.php?folder=7701&view=display&item[]=101</id> <updated>2006-08-18T15:07:24+00:00</updated> <summary>[Id] 101<br> [Created] Aug 18, 3:07 pm<br> [Server] tomnb<br> [Username] setup<br> [Component] info<br> [Message] Setup: setup-data written to ../simple_store/config.php.<br> </summary> </entry> </feed>
Comment 2•18 years ago
|
||
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
Comment 3•18 years ago
|
||
(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: 18 years ago
Resolution: --- → INVALID
Thanks, using <summary type="html"> makes tags like <br>, <code>, etc. working.
Updated•5 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•