]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
docs/parse-support-md: Handle BulletList
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 19 Mar 2024 15:15:09 +0000 (15:15 +0000)
committerJulien Grall <jgrall@amazon.com>
Wed, 20 Mar 2024 08:58:59 +0000 (08:58 +0000)
Commit d638e304f13a introduced a bullet list, but parse-support-md
choke on it as it doesn't know what to do about it.

Introduce ri_BulletList() so that r_content() will find this new
function and call it instead of calling process_unknown().

Reported-by: Julien Grall <julien@xen.org>
Fixes: d638e304f13a ("SUPPORT.MD: Fix matrix generation after 43c416d0d819 and 77c39a53cf5b")
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Tested-by: Julien Grall <jgrall@amazon.com>
Acked-by: Julien Grall <jgrall@amazon.com>
docs/parse-support-md

index a3976376394869169bc89f866b08c314155219bf..b04f62da3764562b41841cc76f76e6979b83577e 100755 (executable)
@@ -218,6 +218,13 @@ sub ri_DefinitionList {
     }
 }
 
+sub ri_BulletList {
+    # Assume a paragraph introduce this bullet list, which would mean that
+    # ri_Para() has already been called, and there's nothing else to do about
+    # the caveat.
+    return;
+}
+
 sub process_unknown {
     my ($c, $e) = @_;
     $had_unknown = Dumper($e);