Personally, this feels unexpected, and I would expect one of the three following behaviors. (I've arranged them starting with what feels most intuitive to me.)
Because it's part of a string value and not HTML, the original file's whitespace is preserved.
The beginning of each line of the string is aligned.
Similar title to #50, but not quite the same thing.
If I have a long attribute value that spans multiple lines, such as the
d
attribute of an SVG path, djhtml currently formats it like this:Personally, this feels unexpected, and I would expect one of the three following behaviors. (I've arranged them starting with what feels most intuitive to me.)
Because it's part of a string value and not HTML, the original file's whitespace is preserved.
The beginning of each line of the string is aligned.
Each line after the first is indented one level.
What do you think?