Skip Menu |

This queue is for tickets about the Lingua-ES-Numeros CPAN distribution.

Report information
The Basics
Id: 69323
Status: resolved
Priority: 0/
Queue: Lingua-ES-Numeros

People
Owner: Nobody in particular
Requestors: eatubert [...] insoft.com.mx
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Incorrect HTML entities when mixing HTML, MAYUSCULAS and ACENTOS
Date: Wed, 6 Jul 2011 18:33:43 -0500
To: <bug-Lingua-ES-Numeros [...] rt.cpan.org>
From: "Eduardo Tubert" <eatubert [...] insoft.com.mx>
When mixing HTML=>1, MAYUSCULAS=>1 and ACENTOS=>1, Lingua::ES::Numeros 0.08 generates incorrect HTML entities. For example 16 turns into DIECIS&EACUTE;S, when it should be DIECIS&Eacute;S. The problem is located in sub retval. Perhaps it can be fixed by doing the MAYUSCULAS conversion first and ACENTOS later, and checking for uppercase letters in the substitution. I haven't tried this solution, I just turned ACENTOS off! Thank you for your module. Eduardo Tubert
Version 0.09 should fix this issue