Skip to content

Commit

Permalink
Merge pull request #4687 from fatalbanana/doxydown
Browse files Browse the repository at this point in the history
[Minor] doxydown: fix elements containing few spaces
  • Loading branch information
vstakhov committed Nov 6, 2023
2 parents 85a2fc6 + b189c9f commit 9c7a000
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/doxydown/doxydown.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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*$/,
Expand Down
20 changes: 10 additions & 10 deletions lualib/lua_maps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -553,17 +553,17 @@ exports.rspamd_maybe_check_map = rspamd_maybe_check_map
-- @function lua_maps.fill_config_maps(mname, options, defs)
-- Fill maps that could be defined in defs, from the config in the options
-- Defs is a table indexed by a map's parameter name and defining it's config,
-- for example:
defs = {
my_map = {
type = 'map',
description = 'my cool map',
optional = true,
}
}
-- Then this function will look for opts.my_map parameter and try to replace it's with
-- @example
-- defs = {
-- my_map = {
-- type = 'map',
-- description = 'my cool map',
-- optional = true,
-- }
-- }
-- --[[ Then this function will look for opts.my_map parameter and try to replace it's with
-- a map with the specific type, description but not failing if it was empty.
-- It will also set options.my_map_orig to the original value defined in the map
-- It will also set options.my_map_orig to the original value defined in the map --]]
--]]
exports.fill_config_maps = function(mname, opts, map_defs)
assert(type(opts) == 'table')
Expand Down

0 comments on commit 9c7a000

Please sign in to comment.