Closed bobf closed 8 months ago
@Trundle Thanks for the review, I just pushed a commit to main
that includes a template with DOS linebreaks, we just normalize to \n
now so all the \r\n
special-case code has gone.
Maybe we'll convert back to \r\n
on Windows if people are using Zmpl directly to generate HTML they want to edit manually ? I think low priority, maybe just wait for somebody to ask for it.
Add support for multi-line tags and strings in markup (non-Zig) chunks:
Re-work parser to work char by char instead of line by line.
Also fixes some bugs with missing blank lines (tests were incorrect).
Thanks @dhrubrawat66 for raising this one.