[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] docs/parse-support-md: Handle BulletList



commit eaafbd11344a8ec32309fe58a6e529fe1c34d62e
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Tue Mar 19 15:15:09 2024 +0000
Commit:     Julien Grall <jgrall@xxxxxxxxxx>
CommitDate: Wed Mar 20 08:58:59 2024 +0000

    docs/parse-support-md: Handle BulletList
    
    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@xxxxxxx>
    Fixes: d638e304f13a ("SUPPORT.MD: Fix matrix generation after 43c416d0d819 
and 77c39a53cf5b")
    Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    Tested-by: Julien Grall <jgrall@xxxxxxxxxx>
    Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
---
 docs/parse-support-md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/parse-support-md b/docs/parse-support-md
index a397637639..b04f62da37 100755
--- a/docs/parse-support-md
+++ b/docs/parse-support-md
@@ -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);
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.