Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

jonasbn
  reversethis-{gro.napc} {ta} {nbsanoj}
http://e-diot.dk/
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Tuesday August 24, 2004
12:49 PM

Boxing HTML::Entities, round 2 - jonasbn clearly in trouble

[ #20541 ]

Hmmm my first version of the module does not work. It does not translate to the proper entities, so that part works as expected but instead it translates into some numeric codes.

I found out when I attempted NOT to translate '<' and '>', the two are not translated into

&lt;

and

&gt;

, so the module works as expected for that part (as expected), but instead they are translated into

&#x3C;

and

&#x3E;

- and I have yet not worked out why.

So it is back to the drawing board and while I am there another thing has come up. I need to be able to handle if the content already has some entities present.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.