Closed determin1st closed 3 years ago
https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L115 https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L116
the first \n is missing in the expected also, it must be \n\n at the end
"template": "{{#a}}\n{{one}}{{#b}}\n{{one}}{{two}}{{one}}{{#c}}\n{{one}}{{two}}{{three}}{{two}}{{one}}{{#d}}\n{{one}}{{two}}{{three}}{{four}}{{three}}{{two}}{{one}}\n{{#five}}{{one}}{{two}}{{three}}{{four}}{{five}}{{four}}{{three}}{{two}}{{one}}\n{{one}}{{two}}{{three}}{{four}}{{.}}6{{.}}{{four}}{{three}}{{two}}{{one}}\n{{one}}{{two}}{{three}}{{four}}{{five}}{{four}}{{three}}{{two}}{{one}}{{/five}}\n{{one}}{{two}}{{three}}{{four}}{{three}}{{two}}{{one}}{{/d}}\n{{one}}{{two}}{{three}}{{two}}{{one}}\n{{/c}}{{one}}{{two}}{{one}}{{/b}}\n{{one}}\n{{/a}}\n", "expected": "\n1\n121\n12321\n1234321\n123454321\n12345654321\n123454321\n1234321\n12321\n121\n1\n\n"
these should be correct
same problem with: https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L155-L156
these should do:
"template": "{{#bool}}\n* first{{/bool}}\n* {{two}}{{#bool}}\n* third\n{{/bool}}\n", "expected": "\n* first\n* second\n* third\n\n"
same: https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L318-L319
"template": "\n| This Is\n{{#boolean}}|\n{{/boolean}}| A Line\n", "expected": "\n| This Is\n|\n| A Line\n"
ooke, i've read "standalone lines should be removed".. wat, i don't get this..
ooke, i get it, so it's a false issue
https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L115 https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L116
the first \n is missing in the expected also, it must be \n\n at the end
these should be correct
same problem with: https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L155-L156
these should do:
same: https://github.com/mustache/spec/blob/bb63070e701e6e5ba9fa0b4adaa259a0ef8115be/specs/sections.json#L318-L319
ooke, i've read "standalone lines should be removed".. wat, i don't get this..
ooke, i get it, so it's a false issue