[Borges-users] Off by one
Kaspar Schiess
eule at space.ch
Tue Mar 30 22:06:07 EST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello all,
... weekly bug ;)
I get the impression that in the end of HtmlBuilder the line should read
HTML_CHARACTERS[(i + 160)] = "&#{s};"
and not
HTML_CHARACTERS[(i - 1 + 160)] = "&#{s};"
since nbsp is ascii 160 and all the others align on that start char.
This fix is in fact relevant for the proposed fix with the encoding of
all html values.
Best regards,
kaspar - code philosopher
- -- stolen off the net --
Lord grant me the serenity to accept the things I cannot change. The
courage to change the things I can. And the wisdom to hide the bodies
of the people I had to kill because they pissed me off.
-- J. G. Bullers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAadMvh6tlx0BWOuARArBaAKCCKWhu7klG+N0PHYmVAru2hDUNCgCcDfuh
R09KbFizaipVFBV1lFN30Gw=
=Ys9z
-----END PGP SIGNATURE-----
More information about the Borges-users
mailing list