diff --git a/DIAGNOSTIC_TODOS.yaml b/DIAGNOSTIC_TODOS.yaml new file mode 100644 index 0000000..05e9b5b --- /dev/null +++ b/DIAGNOSTIC_TODOS.yaml @@ -0,0 +1,196 @@ +name: Missing 2nd closing brace +input: | +
Proudly built with Thor and /home/spencer/github.com/sbrow.github.io/layouts/partials/footer.html:6:5 + | + 4 | {{#params.social}} + 5 | {{>* icon}} + 6 | {{/params.social}} + | ^^^^^^^^^^^^^^^^^^ + 7 | + 8 |
Proudly built with Thor and + {> icons/chevron_up}} + {{#params.social}} + {{>* icon}} + {{/params.social}} + +
Proudly built with Thor and + + {{> icons/chevron_up}} + {{#params.ocial}} + {{>* icon}} + {{/params.social}} + + Proudly built with Thor and Tufte CSS + + © {{now | format "2006" }} {{params.author.name}} + +expected: Mostly the same, but with rust style markers at the opening and close +actual: | + [ERROR] --- [383:load_partials()] expected {{/params.ocial}}, got {{/params.social}} + --> /home/spencer/github.com/sbrow.github.io/layouts/partials/footer.html:6:5 + | + 4 | {{#params.ocial}} + 5 | {{>* icon}} + 6 | {{/params.social}} + | ^^^^^^^^^^^^^^^^^^ + 7 | + 8 |
Proudly built with Thor and Tufte CSS +
© {{now | format "2006" }} {{params.author.name}}
Proudly built with Thor and + + {{> icons/chevron_up}} + {{#params.social}} + {{>* icon}} + + + Proudly built with Thor and Tufte CSS + + © {{now | format "2006" }} {{params.author.name}} + +expected: "Missing closing tag '{{/params.social}}' ...opened ... expected close " +actual: Nothing. The page compiles with no warnings or errors +--- +name: empty tag +input: | + +expected: "Found an empty tag at " +actual: | + [WARN ] --- [920:warn_unknown_key()] unknown key '' + --> /home/spencer/github.com/sbrow.github.io/layouts/partials/footer.html:1:1 + | + 1 |