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

Incorrect display of \o/ (identi.ca) #295

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

The "\o/" string is incorrectly displayed as "\o/" in pino, at least with 
identi.ca.

An example can be found at http://identi.ca/notice/39501129

Cheers,
Julien

Original issue reported on code.google.com by Valro...@gmail.com on 4 Jul 2010 at 6:26

GoogleCodeExporter commented 8 years ago
I have found a patch I had proposed and which was accepted to be the cause of 
this issue.

-              tags = new 
Regex("(^|\\s|['\"+&!/\\(-])#([A-Za-z0-9_.-\\p{Latin}\\p{Greek}]+)");
+              tags = new 
Regex("(^|\\s|['\"+!/\\(-])#([A-Za-z0-9_.-\\p{Latin}\\p{Greek}]+)");

I simply removed & from the list of characters which can appear before a !tag
It is however only a workaround, as the real solution would be to distinguish 
html encoded characters (done by pino at the end of src/template.vala) from the 
original texts.

Cheers,
Julien

Original comment by Valro...@gmail.com on 25 Aug 2010 at 12:04