From da7c6eeb3f3364939154d7c547b5c50b0ce587e6 Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Tue, 10 Apr 2012 14:14:30 +0300 Subject: document *HTML-NO-INDENT-TAGS* --- doc/index.html | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/doc/index.html b/doc/index.html index 151a2ee..50b0627 100644 --- a/doc/index.html +++ b/doc/index.html @@ -93,6 +93,7 @@ CL-WHO is for example used by clutu and *downcase-tokens-p*
  • *html-empty-tag-aware-p*
  • *html-empty-tags* +
  • *html-no-indent-tags*
  • *prologue*
  • esc
  • fmt @@ -460,21 +461,26 @@ time. prologue should be a string is guaranteed to be the first thing sent to the stream from within the body of this macro. If prologue is T the prologue string is the value -of *PROLOGUE*. CL-WHO will -usually try not to insert any unnecessary whitespace in order to save -bandwidth. However, if indent is true -line breaks will be inserted and nested tags will be indented -properly. The value of indent - if it is an -integer - will be taken as the initial indentation. If it is not an -integer it is assumed to mean 0. (But note that -indentation might change the semantics of the generated HTML. This is -for example the case for the PRE -and TEXTAREA tags, and in certain situations additional -whitespace might also change the layout of tables.) +of *PROLOGUE*. +

    +CL-WHO will usually try not to insert any unnecessary whitespace in +order to save bandwidth. However, if indent +is true line breaks will be inserted and nested tags will be +indented properly. The value of indent - if it is +an integer - will be taken as the initial indentation. If it is not an +integer it is assumed to mean 0. Value +of *HTML-NO-INDENT-TAGS* +controls which tag-contents are excempt from indentation: by default +contents of PRE and TEXTAREA tags are not +indented to avoid spurious layout changes. (Note: in certain +situations additional whitespace may change the layout of tables.) +

    The results are the values returned by the forms.

    -Note that the keyword arguments prologue and indent are used at macro expansion time. +Note that the keyword arguments prologue +and indent, and the associated variables are +used at macro expansion time.

     * (with-html-output (*standard-output* nil :prologue t)
    @@ -559,6 +565,15 @@ The initial value is the list
     
    +


    [Special variable] +
    *html-no-indent-tags* + +


    +The list of HTML tags that should disable indentation inside them even +when indentation is requested. The initial value is a list containing +only :pre and :texarea. +
    +


    [Special variable]
    *prologue* -- cgit v1.2.3