KGIII / pino-twitter

Automatically exported from code.google.com/p/pino-twitter
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Pino double-decodes the & a m p ; html/xml entity. #332

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In the following text I will let {amp} stand for the raw ampersand character, 
"&". This should hopefully avoid any escape confusion in this bug report itself.

What steps will reproduce the problem?

1. Write a dent on identi.ca through the web interface containing the sequences 
"{amp}" and "{amp}amp;".
2. Observe in the web interface how one is rendered as "{amp}", the other as 
"{amp}amp;".
3. Observe in the raw text of the atom entry and in the html for that dent how 
it contains one sequence "{amp}amp;" and one sequence "{amp}amp;amp;".
4. Observe how Pino renders both sequences as simply "{amp}".

What is the expected output? What do you see instead?

I would expect Pino to render "{amp}amp;" and "{amp}amp;amp;" differently; the 
first as "{amp}", the second one as "{amp}amp;". Instead, it renders both as 
{amp}.

What version of the product are you using? On what operating system?
Pino 0.2.11 on Fedora 14 (Laughlin).

Please provide any additional information below.

Original issue reported on code.google.com by cla...@gmail.com on 16 Mar 2011 at 4:34