Skip to content

Commit

Permalink
Update canonical-data.json
Browse files Browse the repository at this point in the history
Add test to check if two unordered lists are separated properly
  • Loading branch information
karginoleg authored Aug 24, 2024
1 parent 578f37a commit 7618263
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions exercises/markdown/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,15 @@
"markdown": "# Start a list\n* Item 1\n* Item 2\nEnd a list"
},
"expected": "<h1>Start a list</h1><ul><li>Item 1</li><li>Item 2</li></ul><p>End a list</p>"
},
{
"uuid": "69c5f35a-6d21-4aef-bcf5-18d193c7f622",
"description": "two unordered lists are separated properly",
"property": "parse",
"input": {
"markdown": "# Start list 1\n* Item 1\nEnd list 1\n# Start list 2\n* Item 1\n* Item 2\nEnd list 2"
},
"expected": "<h1>Start list 1</h1><ul><li>Item 1</li></ul><p>End list 1</p><h1>Start list 2</h1><ul><li>Item 1</li><li>Item 2</li></ul><p>End list 2</p>"
}
]
}

0 comments on commit 7618263

Please sign in to comment.