Hello! I am aware that what I'm asking for is a little bit outside of the scope of maud (SVG templates, rather than HTML templates) but I'm wondering, would it be possible to have an option for properly closing void tags? For instance, somehow having an option/alternate syntax such that br; outputs <br /> rather than <br>. This is required for SVG and XML more broadly, and I do know there are some people who want their HTML to be XML-compliant like this, so I think it's worth considering.
This could potentially be behind a feature flag. If you're open to the idea, I'd be happy to make a pull request.
Hello! I am aware that what I'm asking for is a little bit outside of the scope of maud (SVG templates, rather than HTML templates) but I'm wondering, would it be possible to have an option for properly closing void tags? For instance, somehow having an option/alternate syntax such that
br;
outputs<br />
rather than<br>
. This is required for SVG and XML more broadly, and I do know there are some people who want their HTML to be XML-compliant like this, so I think it's worth considering.This could potentially be behind a feature flag. If you're open to the idea, I'd be happy to make a pull request.
Thanks!