Subject: Re: (dsssl) Jade keeps translating non-breaking space to a regular space in HTML From: Holger Klawitter <lists@xxxxxxxxxxxx> Date: Mon, 31 Mar 2003 10:25:34 +0200 |
> I'm outputting HTML, of course (well, -tsgml). I've tried various > ways of defining the nbsp function. I tried each of the lines > below separately, uncommenting exactly one each try. > > (define (nbsp) > ;; (literal " ") > ;; (make formatting-instruction data: " ") > ;; (make formatting-instruction data: " ") > ;; (literal "\no-break-space;") > ;; (literal "\U-00A0;") > ;; (literal "&#160;") ;; A > (make formatting-instruction data: (string-append "&" "#160;")) > ) There is yet another way to define such a thing :-) (make entity-ref name: "nbsp") > no magic Jade option -do-not-translate-nbsp-to-space, I suppose. There is one, however this blocks *all* SDATA entity refs from being translated: (declare-characteristic preserve-sdata? "UNREGISTERED::James Clark//Characteristic::preserve-sdata?" #t) With kind regards / mit freundlichem Gruß Holger Klawitter -- Holger Klawitter http://www.klawitter.de lists@xxxxxxxxxxxx DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) Jade keeps translating non-, Tim McDaniel | Thread | Re: (dsssl) Jade keeps translating , Dan Richter |
(dsssl) Jade keeps translating non-, Tim McDaniel | Date | Re: (dsssl) Jade keeps translating , Dan Richter |
Month |