creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
902 stars 110 forks source link

Indentation problem #85

Closed Preen closed 8 years ago

Preen commented 10 years ago

Hi When using indentation instead of white space:

!!! XML !!! %html --%head --%body'

This results in: <?xml version='1.0' encoding='utf-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

sandhilt commented 9 years ago

try 2 spaces.