fix(docs): ignore_invalid #24174

Regex bug in scripts/gen_help_html.lua:ignore_invalid()
This commit is contained in:
Justin M. Keyes
2023-06-27 10:21:27 -07:00
committed by GitHub
parent 929e4865d1
commit ab65a98adb
8 changed files with 12 additions and 15 deletions

View File

@@ -293,7 +293,7 @@ local function ignore_invalid(s)
-- Strings like |~/====| appear in various places and the parser thinks they are links, but they
-- are just table borders.
or s:find('===')
or s:find('---')
or s:find('%-%-%-')
)
end