Changeset 15352 in project


Ignore:
Timestamp:
08/07/09 14:06:07 (10 years ago)
Author:
sjamaan
Message:

Do not append high-level rules and low-level rules directly, this makes it harder
to put something in between.

Location:
release/4/qwiki/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/qwiki/trunk/qwiki-sxml.scm

    r15351 r15352  
    5050                                (title ,(or (sxml:attr 'title page)
    5151                                            "qwiki")))
    52                                (body ,@(sxml:content-raw page))))))
    53     ,@doctype-rules
    54     ,@universal-conversion-rules))
     52                               (body ,@(sxml:content-raw page))))))))
    5553
    5654)
  • release/4/qwiki/trunk/qwiki.scm

    r15351 r15352  
    5959(define qwiki-base-uri (make-parameter "/" uri-reference))
    6060
    61 ;; TODO: Make this use some kind of wiki-html-transformations, which
    62 ;; should end up in their own egg or module for reusability
     61;; The rules used for transforming page SXML structure into HTML
    6362(define qwiki-transformation-rules
    64   (make-parameter qwiki-basic-transformation-rules))
     63  (make-parameter
     64   (append qwiki-basic-transformation-rules
     65           doctype-rules
     66           universal-conversion-rules)))
    6567
    6668;; Return the trailing part of the path relative to the docroot/base-uri
Note: See TracChangeset for help on using the changeset viewer.