Fix standalone tag detection

This commit is contained in:
Tyler Akins
2023-04-08 19:06:04 -05:00
parent 72a0e426c7
commit a237d23a2d
2 changed files with 40 additions and 19 deletions

9
tests/internal-whitespace Executable file
View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
cd "${0%/*}" || exit 1
. ../run-tests
boolean=true
template=$' | {{#boolean}} {{! Important Whitespace }}\n {{/boolean}} | \n'
expected=$' | \n | \n'
runTest