commit 7bd2277: [Minor] Update embedded doxydown

Andrew Lewis nerf at judo.za.org
Tue Sep 14 15:42:04 UTC 2021


Author: Andrew Lewis
Date: 2021-09-14 16:17:20 +0200
URL: https://github.com/rspamd/rspamd/commit/7bd227794717432ae84c1f77cca0d2e027b2504a (refs/pull/3891/head)

[Minor] Update embedded doxydown
 - To fix nested lists

---
 doc/doxydown/doxydown.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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*$/,


More information about the Commits mailing list