From: Vsevolod Stakhov Date: Tue, 26 Aug 2014 14:47:35 +0000 (+0100) Subject: Do not add tabs for lists. X-Git-Tag: 0.7.0~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f11881db5740e9d71dd8d21762ac6e3eab22404;p=thirdparty%2Frspamd.git Do not add tabs for lists. --- diff --git a/doc/lua_api.pl b/doc/lua_api.pl index a745bdf789..f608fbf8d9 100755 --- a/doc/lua_api.pl +++ b/doc/lua_api.pl @@ -64,10 +64,10 @@ EOD if ($f->{'params'} && scalar @{$f->{'params'}} > 0) { foreach (@{$f->{'params'}}) { if ($_->{'type'}) { - print "\t- `$_->{'name'} \{$_->{'type'}\}`: $_->{'description'}\n"; + print "- `$_->{'name'} \{$_->{'type'}\}`: $_->{'description'}\n"; } else { - print "\t- `$_->{'name'}`: $_->{'description'}\n"; + print "- `$_->{'name'}`: $_->{'description'}\n"; } } } @@ -78,10 +78,10 @@ EOD if ($f->{'return'} && $f->{'return'}->{'description'}) { $_ = $f->{'return'}; if ($_->{'type'}) { - print "\t- `\{$_->{'type'}\}`: $_->{'description'}\n"; + print "- `\{$_->{'type'}\}`: $_->{'description'}\n"; } else { - print "\t- $_->{'description'}\n"; + print "- $_->{'description'}\n"; } } else {