EXPRESSIONS.md in temple-0.4.0 vs EXPRESSIONS.md in temple-0.4.1
- old
+ new
@@ -208,9 +208,16 @@
Example:
[:html, :comment, [:static, 'comment']]
generates:
<!--comment-->
+### [:html, :condcomment, condition, sexp]
+
+Example:
+ [:html, :condcomment, 'IE', [:static, 'comment']]
+generates:
+ <!--[if IE]>comment<![endif]-->
+
### [:html, :tag, identifier, attributes, optional-sexp]
HTML tag abstraction. Identifier can be a String or a Symbol. If the optional content Sexp is omitted
the tag is closed (e.g. <br/> <img/>). The tag is also closed if the content Sexp is empty
(consists only of :multi and :newline expressions) and the tag is registered as auto-closing.