From b532ecc9c65cb48df5181b996e7a2939c557b6ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Wed, 27 Feb 2008 22:33:50 +0100 Subject: [PATCH] Update docs with :html5 --- lib/haml.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/haml.rb b/lib/haml.rb index 4a298cb3..89704aac 100644 --- a/lib/haml.rb +++ b/lib/haml.rb @@ -756,10 +756,9 @@ $LOAD_PATH << dir unless $LOAD_PATH.include?(dir) # Available options are: # # [:output] Determines the output format. The default is :xhtml. -# Currently, the only other option is :html4, -# which is identical to :xhtml except that tags -# that are normally auto-closed aren't, -# and HTML4 doctypes are generated rather than XHTML. +# Other options are :html4 and :html5, which are +# identical to :xhtml except there are no self-closing tags, +# XML prolog is ignored and correct DOCTYPEs are generated. # # [:suppress_eval] Whether or not attribute hashes and Ruby scripts # designated by = or ~ should be