You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output is very good, but I don't want the .volt to be very readable.
Well-formed HTML should make it easier to find and isolate bugs, even if it doesn't affect the display on the browser.
It would be nice to remove the spaces and tabs from the beginning of the line to {{ }} and {% %} at the time of compilation, but (maybe phvolt_internal_parse_view()) function cannot be improved?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I think that it is common to write including indentation in .volt as follows.
The HTML output as a result of this is not beautiful because the indentation is disturbed.
Therefore, modify .volt as follows (remove the indentation).
The HTML it generates looks like the following, which is well-formed and beautiful.
The output is very good, but I don't want the .volt to be very readable.
Well-formed HTML should make it easier to find and isolate bugs, even if it doesn't affect the display on the browser.
It would be nice to remove the spaces and tabs from the beginning of the line to {{ }} and {% %} at the time of compilation, but (maybe phvolt_internal_parse_view()) function cannot be improved?
Beta Was this translation helpful? Give feedback.
All reactions