diff tests/test-minirst.py @ 46385:aaff3bc75306

minirst: respect escaping in definition list key If we start adding `:` in command names… we need minirst to not choke on them. Differential Revision: https://phab.mercurial-scm.org/D9869
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 25 Jan 2021 23:07:56 +0100
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line diff
--- a/tests/test-minirst.py	Tue Jan 26 00:45:40 2021 +0100
+++ b/tests/test-minirst.py	Mon Jan 25 23:07:56 2021 +0100
@@ -159,6 +159,8 @@
 :a: First item.
 :ab: Second item. Indentation and wrapping
      is handled automatically.
+:c\:d: a key with colon
+:efg\:\:hh: a key with many colon
 
 Next list: