And as you may see, it would give an error of Illegal nesting: nesting within plain text is illegal. Even when I managed to make it work, only <nav> would be part of .content, the rest would be on top level.
What this simple PR does is stripping newlines so that rendered partials won't enter in the indentation game, making it behave in much more predictable way.
Yesterday I stumbled upon the problem that I wasn't able to include files properly in the way I expected. For example, this code:
Would render as:
And as you may see, it would give an error of
Illegal nesting: nesting within plain text is illegal
. Even when I managed to make it work, only<nav>
would be part of.content
, the rest would be on top level.What this simple PR does is stripping newlines so that rendered partials won't enter in the indentation game, making it behave in much more predictable way.