From 9334feb1745ef58373be205cc91ebedba1eab57c Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 12 Feb 2010 15:21:29 +0000 Subject: htmlentities/string module is gone, removed by upstream. --- bugzilla.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bugzilla.rb b/bugzilla.rb index dbe21c8..8fb235c 100644 --- a/bugzilla.rb +++ b/bugzilla.rb @@ -22,17 +22,14 @@ require 'csv' # if it's not available. begin require 'htmlentities' - require 'htmlentities/string' -rescue LoadError # If we don't have htmlentities extension available, replace # decode_entities with a dummy function. class String - def decode_entities - return self - end + def decode_entities + return HTMLEntities.decode(self) + end end - end # Valid statuses -- cgit v1.2.3-65-gdbad