hgext/releasenotes.py
changeset 49519 943509a58d29
parent 49306 2e726c934fcd
child 49849 de9ffb82ef4d
--- a/hgext/releasenotes.py	Wed Oct 05 15:45:05 2022 -0400
+++ b/hgext/releasenotes.py	Fri Sep 30 09:05:48 2022 -0600
@@ -70,7 +70,7 @@
     (b'api', _(b'API Changes')),
 ]
 
-RE_DIRECTIVE = re.compile(br'^\.\. ([a-zA-Z0-9_]+)::\s*([^$]+)?$')
+RE_DIRECTIVE = re.compile(br'^\.\. ([a-zA-Z0-9_]+)::\s*([^$]+)?$', re.MULTILINE)
 RE_ISSUE = br'\bissue ?[0-9]{4,6}(?![0-9])\b'
 
 BULLET_SECTION = _(b'Other Changes')