gulp-community / gulp-haml

gulp plugin for Haml
MIT License
25 stars 20 forks source link

Things nested under `head` don't compile nested #9

Closed trevanhetzel closed 10 years ago

trevanhetzel commented 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...

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.

stephenlacy commented 10 years ago

Issues with the output should be reported on haml-js OR haml.js depending on compiler used