Paul Battley dijo [Tue, Nov 15, 2011 at 10:14:28AM +]:
> Hi,
>
> > $ ruby1.9.1 -e 'require "htmlentities";
> > t=HTMLEntities.new.encode("<élan>"); puts t; puts t.encoding'
> > <élan>
> > UTF-8
>
> That's the expected behaviour: only the basic entities are escaped by
> default, i.e. only tha
Hi,
> $ ruby1.9.1 -e 'require "htmlentities"; t=HTMLEntities.new.encode("<élan>");
> puts t; puts t.encoding'
> <élan>
> UTF-8
That's the expected behaviour: only the basic entities are escaped by
default, i.e. only that which is necessary to produce valid HTML text.
If you want the encoder to c
Package: ruby-htmlentities
Version: 4.3.0-1
Severity: minor
Tags: upstream
Hi,
While preparing an upload for the 4.3.0 release of your package, I
noticed a newly added part of the test suite fails under Ruby 1.9.1:
# Running tests:
.F.F
F
3 matches
Mail list logo