chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Minor issue with spiffy's sxml->html


From: Zbigniew
Subject: Re: [Chicken-users] Minor issue with spiffy's sxml->html
Date: Fri, 29 Dec 2006 17:19:45 -0600

[Peter Wright wrote:]
I'm guessing SXML->HTML has a special-case handling for the standard
"inline"-display HTML tags

Yep.  As I mentioned, I added inline tag handling to sxml-transforms,
to avoid rendering issues.  It treats the following tags as "inline":

(define xhtml-inline-elements
 '(a abbr acronym cite code dfn em font kbd q samp strong var
   b big i small strike sub sup tt u blink span))

Other tags are considered "block" and get a newline.  Another feature
is that certain empty tags use the minimized close tag form, for xhtml
compatibility:

(define xhtml-empty-elements '(base meta link hr br param img area input col))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]