Skip Menu |

This queue is for tickets about the Text-Autoformat CPAN distribution.

Report information
The Basics
Id: 2156
Status: new
Priority: 0/
Queue: Text-Autoformat

People
Owner: Nobody in particular
Requestors: david.thomas [...] its.monash.edu.au
Cc:
AdminCc:

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



Subject: Entities in case => 'highlight'
We are using the module to modify text for use in html pages and we have found that using: autoformat $text, {case => 'highlight' }; that we would have the following output: 2002&Nbsp;- my It would be really nice if the case changing did not affect entities in the &xxx; format. Thanks, David Thomas -- Portal Developer/Integrator ITS - Flexible Learning & Teaching Monash University - Clayton Campus Ph: +61 (3) 990 55830
Date: Sat, 17 May 2003 12:02:37 +1000
From: Damian Conway <damian [...] conway.org>
To: bug-Text-Autoformat [...] rt.cpan.org
Subject: Re: [cpan #2156] Entities in case => 'highlight'
RT-Send-Cc:
Guest via RT wrote: Show quoted text
> We are using the module to modify text for use in html pages and we have found that using: > > autoformat $text, {case => 'highlight' }; > > that we would have the following output: > > 2002&Nbsp;- my > > It would be really nice if the case changing did not affect entities in the &xxx; format. > > Thanks, > > David Thomas
Fixed for the next release. Though rather than ignore entities, it will instead Do The Right Thing. For example: lower: i w&aacute;s b&ouml;rn in 1960 &iuml;&ntilde; &thorn;he yukon upper: I W&Aacute;S B&Ouml;RN IN 1960 &Iuml;&Ntilde; &THORN;HE YUKON title: I W&aacute;s B&ouml;rn In 1960 &Iuml;&ntilde; &THORN;he Yukon highlight: I W&aacute;s B&ouml;rn in 1960 &Iuml;&ntilde; &THORN;he Yukon Thanks, Damian