Closed Stromdahl closed 3 months ago
I had the same issue, investigating what's going on.
Ah, it's a bad assumption in the implementation. With my usage, it worked fine, but it still processes all the child nodes of any block, while discarding only writable things. So this means any nodes like the loop tag still gets parsed and generated.
I'm curious to see how you fixed it. The WritableBuffer
needs to handle discard too (which I added) and you need to switch this status accordingly. However the handle of whitespace characters becomes tricky. ^^'
Hello! I Encountered a compilation error when using block fragments with Vec<&str> in a single template file. The error does not occur when the template is split into separate files.
This is working like expected
When changing to Vec for the value i get a compilation error..
However when i split the template file in two it is working as expected.
index.html
section.html