Closed GuillaumeGomez closed 4 months ago
And fixed clippy lints.
Mystery solved (for the missing trailing backline characters): I accidentaly removed child.flush_ws(def.ws2);
. Much less diff in the tests now. \o/
I can confirm this resolved an issue I had where contents from the template leaked into the block-fragmented child template. I added another test case here: https://github.com/djc/askama/pull/1032
Fixes #1022.
Problem was that we were still rendering the content into the
WritableBuffer
.