bugStraw, desktop news aggregator - Bugs: bug #2815, straw doesn't understand &#nnn;

 
 

bug #2815: straw doesn't understand &#nnn;

Submitter:  None
Submitted:  Thu 13 Mar 2003 12:57:42 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Oct 2003 09:54:13 PM UTC, comment #4: 

I just posted what could be a dupe of this in 6179.  The problem (at least when I see it) is in Feed Titles in the Feed list and Article Titles in the article list.

Ryan Skadberg <skadz>
Sat 10 May 2003 04:40:48 AM UTC, comment #3: 

Could you only strip() before converting the entities. After the entities are converted, leave tailing white space as is. or exclude &#xA0; from being stripped.

Anonymous
Thu 20 Mar 2003 05:13:20 AM UTC, comment #2: 

OK, it seems not be the problem with &#nn;.

I use & #A0; in front of a title to indent. But the spaces are stripped before being displayed. If the & #A0; is used inside a string, it will be preserved. Using & nbsp; will not got the space stripped. (Both in the title view and the gtkhtml2 pane)

Maybe it is a python thing? python strips all kind of whitespace include non-breaking space?

Anonymous
Fri 14 Mar 2003 09:32:49 PM UTC, comment #1: 

That's weird. I use &#8212; routinely and it works just fine. It also seems to as &#x2014;. Neither have I any trouble with &#xA0;. Regardless of whether or not the feed is valid RSS.

I did just change the code that deals with what's displayed in the item list view, but I don't think I've changed the HTML reading/rendering code in ages.

How do you see the character code entities? Do they disappear, are they rendered as a string, or what?

Could you test with the CVS version, or with the upcoming 0.18?

Juri Pakaste <juri>
Group administrator
Thu 13 Mar 2003 12:57:42 PM UTC, original submission:  



&#nnn; and &nxHH; are used in xml to represent
unicode characters. Straw (or gtkhtml2) does not
understand them. Straw should translate the entities
to legal html characters.

to use none break space in a feed, I currently have
to use & nbsp ; instead of &#xA0; .


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code