creationix / haml-js

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

Officially unsupport multi-line attribute blocks. #95

Open AnalyzePlatypus opened 7 years ago

AnalyzePlatypus commented 7 years ago

Closes https://github.com/creationix/haml-js/issues/74.

HAML-js does not support multiline attribute blocks. This PR clarifies this fact in several places.

Sinetheta commented 7 years ago

I think that clears things up nicely. Spreading different attributes across multiple lines is handy for readability, but certainly not required. As long as users know they're not crazy, they need to adjust their markup.

mebibou commented 6 years ago

Having lines of 500chars because this library does not support multi-lines is not what I call readability, it's common sense. Has anyone ever wrote a function in js as a single line of 500chars? nonsense