[Haml] Document the CDATA filter.

This commit is contained in:
Nathan Weizenbaum 2009-04-28 23:46:47 -07:00
parent eaa03cd50d
commit 0b0ded0ba5
1 changed files with 2 additions and 0 deletions

View File

@ -711,6 +711,8 @@ require 'haml/version'
# [javascript] Surrounds the filtered text with <script> and CDATA tags.
# Useful for including inline Javascript.
#
# [cdata] Surrounds the filtered text with CDATA tags.
#
# [escaped] Works the same as plain, but HTML-escapes the text
# before placing it in the document.
#