XML Decoder: Comment parsing tweak

This commit is contained in:
Mike Farah
2022-11-27 19:14:41 +11:00
parent 77998d1bb3
commit 1617e5de19
2 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -246,8 +246,8 @@ var xmlScenarios = []formatScenario{
},
{
skipDoc: true,
input: "<root> <!-- comment-->value</root>",
expected: "\n# comment\nroot: value\n", //needs fix
input: "<root><!-- comment-->value</root>",
expected: "# comment\nroot: value\n",
},
{
skipDoc: true,