(in-package #:lml2)
-(page ("readme")
+(html-file-page ("readme")
(html
(:head
(:title "LML2 README")
(:li "Lowercase tag names so that (html ((:p class 'a))) now produces '<p class=\"a\"></p>")
(:li "Addition of new tags such as :insert-file, :nbsp, :jscript")
(:li "Removal of the if* macro from the htmlgen.lisp source code")
- (:li "Incorporation of LML's standard site macro and other helper functions."))
+ (:li "Incorporation of LML's standard site macro and other helper functions.")
+ (:li "Addition of special attribute tags (:if :when :optional :format :format")
+ (:li "Automatic quoting of attribute values for non-string values")
+ (:li "Post macroexpansion code walker to collape sequential write-string calls"))
(:h2 "Installation")
(:p
(:td
(:pre
"(html
- (:i \"The square of the first five integers are: )\"
- (:b
- (loop as x from 1 to 5
- doing
- (lml-format \" ~D\" (* x x))))"))
+ (:i \"The square of the first five integers are: \")
+ (:b (loop as x from 1 to 5
+ doing (html " " (:princ (* x x))))))"))
(:td
(:i "The square of the first five integers are: ")
- (:b
- (loop as x from 1 to 5
- doing
- (lml-format " ~D" (* x x))))))
+ (:b (loop as x from 1 to 5
+ doing (html " " (:princ (* x x)))))))
))
:hr
(:p