Closed trevanhetzel closed 10 years ago
With this Haml:
!!! 5 %html %head %meta{charset: "utf-8"}
It compiles to:
<!DOCTYPE html> <html><head></head><meta charset="utf-8" /></html>
Notice how the meta tag nested under the head tag in the Haml does not compile like that...
meta
head
Also, is there a way to NOT have the trailing slash on self closing tags? In HTML5, the trailing slash is optional and I tend to not use it.
Issues with the output should be reported on haml-js OR haml.js depending on compiler used
With this Haml:
It compiles to:
Notice how the
meta
tag nested under thehead
tag in the Haml does not compile like that...Also, is there a way to NOT have the trailing slash on self closing tags? In HTML5, the trailing slash is optional and I tend to not use it.