This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: Strange newlines in HTML output
- To: docbook at lists dot oasis-open dot org
- Subject: RE: DOCBOOK: Strange newlines in HTML output
- From: Gregory Leblanc <GLeblanc at cu-portland dot edu>
- Date: Mon, 04 Dec 2000 11:06:51 -0800
> -----Original Message-----
> From: Norman Walsh [mailto:ndw@nwalsh.com]
>
> / siaco@id.pl was heard to say:
> | <HTML
> | ><HEAD
> | ><TITLE
> | ></TITLE
> | ><META
> | NAME="GENERATOR"
> |
> | Yes, I mean the newlines before the '>' sign.
>
> Jade wants to insert line breaks into the output so that you don't get
> one great, big, huge, unbroken line of tags. But where can it put line
> breaks? The only place where they can occur where Jade can be certain
> that they aren't significant is inside the tags. So that's what it
> does.
Well since Norm answered this one here, I thought I'd throw in my 2 cents.
After I get the output from Jade, I -always- run it through tidy with a -i
(intent) option. That way if somebody actually looks at the HTML, it's
pretty clear how things work.
Greg