From: Andrew Lewis Date: Tue, 14 Sep 2021 14:17:20 +0000 (+0200) Subject: [Minor] Update embedded doxydown X-Git-Tag: 3.1~163^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7bd227794717432ae84c1f77cca0d2e027b2504a;p=rspamd.git [Minor] Update embedded doxydown - To fix nested lists --- diff --git a/doc/doxydown/doxydown.pl b/doc/doxydown/doxydown.pl index cb3713cff..9b4c36814 100755 --- a/doc/doxydown/doxydown.pl +++ b/doc/doxydown/doxydown.pl @@ -16,17 +16,17 @@ my %languages = ( c => { start => qr/^\s*\/\*\*\*(?:\s*|(\s+\S.+\s*))$/, end => qr/^\s*\*+\/\s*$/, - filter => qr/^(?:\s*\*+\s*)?(\s*\S.+)\s*$/, + filter => qr/^(?:\s*\*+\s?)?(\s*\S.+)\s*$/, }, lua => { start => qr/^\s*\--(?:\[\[\[+|-+)\s*$/, end => qr/^\s*--(:?\]\]+|-+)\s*$/, - filter => qr/^(?:\s*--!?\s)?(\s*\S.+)\s*$/, + filter => qr/^(?:\s*--!?\s?)?(\s*\S.+)\s*$/, }, sql => { start => qr/^\s*\--(?:\[\[+|-+)\s*$/, end => qr/^\s*--(:?\]\]+|-+)\s*$/, - filter => qr/^(?:\s*--\s)?(\s*\S.+)\s*$/, + filter => qr/^(?:\s*--\s?)?(\s*\S.+)\s*$/, }, pl => { start => qr/^\s*\##+\s*$/,