Bug#648756: ruby-htmlentities: Test suite for HtmlEntities fails under Ruby 1.9.1

2011-11-15 Thread Gunnar Wolf
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

Bug#648756: ruby-htmlentities: Test suite for HtmlEntities fails under Ruby 1.9.1

2011-11-15 Thread Paul Battley
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

Bug#648756: ruby-htmlentities: Test suite for HtmlEntities fails under Ruby 1.9.1

2011-11-14 Thread Gunnar Wolf
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