The tag parsing code checks that all of the tag's content is properly indented otherwise returns Nothing. But the code wasn't taking into account lines that were empty or made only of whitespace characters and some code includes these lines and they are almost never indented.
This is fixed by filtering out lines that are empty or made only of whitespace characters when calculating the minimum content indentation.
The tag parsing code checks that all of the tag's content is properly indented otherwise returns
Nothing
. But the code wasn't taking into account lines that were empty or made only of whitespace characters and some code includes these lines and they are almost never indented.This is fixed by filtering out lines that are empty or made only of whitespace characters when calculating the minimum content indentation.
Fixes #7