from: https://nim-lang.org/docs/filters.html
Example:
</body>
The filter transforms this into:
"</body>\n")
why should that last newline be added automatically?
Now, i'm having to (try) and strip it (when returning html other than </body>).
I probably should have put "having to" in quotes, as it was meant as a casual reporting of what i was doing, as opposed to a big, serious complaint, but i'd rather not look at, or add boilerplate to remove, unnecessary newlines or whitespace i didn't purposely add in html i am generating myself. I also generally prefer the Nim source code filter to other templating libraries.
I'm just wondering why Nim SCF should add a newline at the end of the last line. I didn't know if there was a reason, so i asked here first. If there is no reason, then i was wondering if you were interested in an FR/PR?, even if it is very minor, relatively speaking.
thanks
Ok, after your last post, i looked back at the docs page, and it's much more obvious than it was to me this morn... Sorry for the trouble.
Thanks