diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-10 13:22:11 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-10 13:22:11 +0000 |
commit | 6655c2dea642ad479e2cbc68127f2edb5b495271 (patch) | |
tree | 0cf6fca0f62d8bf275a749227679360afb80a830 | |
parent | 41d03831084fa8ae24c2b153244e2677cd9fde42 (diff) | |
download | rspamd-6655c2dea642ad479e2cbc68127f2edb5b495271.tar.gz rspamd-6655c2dea642ad479e2cbc68127f2edb5b495271.zip |
[Doc] Further fixes in docs layout
-rwxr-xr-x | doc/doxydown/doxydown.pl | 2 | ||||
-rw-r--r-- | src/lua/lua_task.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/doxydown/doxydown.pl b/doc/doxydown/doxydown.pl index 85821da4d..96ebbbda3 100755 --- a/doc/doxydown/doxydown.pl +++ b/doc/doxydown/doxydown.pl @@ -380,7 +380,7 @@ sub parse_function { } if ( !$f->{'brief'} && $f->{'data'} ) { - $f->{'data'} =~ /^([^.]+)\.?.*/; + $f->{'data'} =~ /^(.*?)(?:(?:[.:]\s)|\n).*/; if ( $1 ) { $f->{'brief'} = "$1."; diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c index a8a53f517..87893ac6b 100644 --- a/src/lua/lua_task.c +++ b/src/lua/lua_task.c @@ -52,13 +52,13 @@ end /*** * @function rspamd_task.load_from_file(filename[, cfg]) * Loads a message from specific file - * @return {boolean},{rspamd_task|error} status + new task or error message + * @return {boolean,rspamd_task|error} status + new task or error message */ LUA_FUNCTION_DEF (task, load_from_file); /*** * @function rspamd_task.load_from_string(message[, cfg]) * Loads a message from specific file - * @return {boolean},{rspamd_task|error} status + new task or error message + * @return {boolean,rspamd_task|error} status + new task or error message */ LUA_FUNCTION_DEF (task, load_from_string); |