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

 
 

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

Submitted by:  None
Submitted on:  Thu 13 Mar 2003 12:57:42 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1