Include blank new lines in leading header preprocessing #1462

This commit is contained in:
Mike Farah
2022-12-08 13:33:06 +11:00
parent 8df8d89c6d
commit 83c5e1bc83
8 changed files with 75 additions and 7 deletions
+1 -1
View File
@@ -221,7 +221,7 @@ var commentOperatorScenarios = []expressionScenario{
document: "# welcome!\n\na: cat # meow\n\n# have a great day",
expression: `. | head_comment`,
expected: []string{
"D0, P[], (!!str)::welcome!\n",
"D0, P[], (!!str)::welcome!\n\n",
},
},
{