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=refs%2Fpull%2F3891%2Fhead;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*$/,