9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@cse.psu.edu
Subject: [9fans] &nbsp; vs libhtml
Date: Mon,  5 Sep 2005 20:45:02 -0500	[thread overview]
Message-ID: <20050906014502.8AC6D14114E@dexter-peak.quanstro.net> (raw)

for this html file:

&nbsp; x

the &nbsp; was left intact in the output. i believe that
this is the fix:

; rcsdiff lex.c
===================================================================
RCS file: RCS/lex.c,v
retrieving revision 1.1
diff -r1.1 lex.c
400c400
< #define NCHARTAB (sizeof(chartab)/sizeof(chartab[0]))
---
> #define NCHARTAB (sizeof(_chartab)/sizeof(_chartab[0]))



at compile time sizeof(chartab)/sizeof(chartab[0]) is zero
cause it's generated at runtime.

erik


             reply	other threads:[~2005-09-06  1:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06  1:45 erik quanstrom [this message]
2005-09-06  8:00 ` [9fans] driver list Charles Forsyth
2005-09-06 11:12   ` Sergey Reva
2005-09-06 14:06     ` Gabriel IVANES
2005-09-06 12:33       ` Mechiel Lukkien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050906014502.8AC6D14114E@dexter-peak.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).