[Borges-users] Off by one

Eric Hodel drbrain at segment7.net
Sun Apr 4 05:49:20 EDT 2004


Kaspar Schiess (eule at space.ch) wrote:

> 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.

Checking in lib/Borges/HTML/HtmlBuilder.rb;
/var/cvs/borges/borges/lib/Borges/HTML/HtmlBuilder.rb,v  <--
HtmlBuilder.rb
new revision: 1.21; previous revision: 1.20
done

-- 
Eric Hodel - drbrain at segment7.net - http://segment7.net
All messages signed with fingerprint:
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/borges-users/attachments/20040404/d4f8408c/attachment.bin


More information about the Borges-users mailing list