# HG changeset patch # User Pierre-Yves David # Date 1611612476 -3600 # Node ID aaff3bc753064c9cddf9037406d9b835d0d633c5 # Parent 7bb31c367847f1f1e1331b91633cee4a31025c1a 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 diff -r 7bb31c367847 -r aaff3bc75306 mercurial/minirst.py --- a/mercurial/minirst.py Tue Jan 26 00:45:40 2021 +0100 +++ b/mercurial/minirst.py Mon Jan 25 23:07:56 2021 +0100 @@ -158,7 +158,7 @@ _optionre = re.compile( br'^(-([a-zA-Z0-9]), )?(--[a-z0-9-]+)' br'((.*) +)(.*)$' ) -_fieldre = re.compile(br':(?![: ])([^:]*)(?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: