commit ed77d35: [Minor] doxydown: fix elements containing few spaces

Andrew Lewis nerf at judo.za.org
Mon Nov 6 14:28:03 UTC 2023


Author: Andrew Lewis
Date: 2023-11-06 14:15:01 +0200
URL: https://github.com/rspamd/rspamd/commit/ed77d35c7929cb0e84abf7ccde8efa05775b746d

[Minor] doxydown: fix elements containing few spaces

---
 doc/doxydown/doxydown.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/doxydown/doxydown.pl b/doc/doxydown/doxydown.pl
index 9c2f74131..5002f589a 100755
--- a/doc/doxydown/doxydown.pl
+++ b/doc/doxydown/doxydown.pl
@@ -21,7 +21,7 @@ my %languages = (
     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*$/,


More information about the Commits mailing list