aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-28 12:48:00 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-08-28 12:48:00 +0100
commit71669bb0498977032ab4291e40aed7d0ec96c6f2 (patch)
tree96c7e6582c05d3603840a5ea763bf284ebd8511f /doc
parentf8ea4bebb407f6a0ab586541e07aa0a3b7eb702c (diff)
downloadrspamd-71669bb0498977032ab4291e40aed7d0ec96c6f2.tar.gz
rspamd-71669bb0498977032ab4291e40aed7d0ec96c6f2.zip
Fix parsing of comment lines without leading `*`.
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/lua_api.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/lua_api.pl b/doc/lua_api.pl
index b7c69a33c..7a987b922 100755
--- a/doc/lua_api.pl
+++ b/doc/lua_api.pl
@@ -233,7 +233,7 @@ while (<>) {
$content = "";
}
else {
- my ($line) = ( $_ =~ /^\s*(?:\*\s?)(.+)\s*$/ );
+ my ($line) = ( $_ =~ /^(?:\s*\*\s)?(.+)\s*$/ );
if ($line) {
$content .= $line . "\n";
}