aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_help_html.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-06-27 10:21:27 -0700
committerGitHub <noreply@github.com>2023-06-27 10:21:27 -0700
commitab65a98adba4d32b03e7296529c4bf1491c783eb (patch)
tree548059cb92e40862d3069710e9ae1b3814c504ee /scripts/gen_help_html.lua
parent929e4865d1f59cb356f3f2f8a10ad6095b435544 (diff)
downloadrneovim-ab65a98adba4d32b03e7296529c4bf1491c783eb.tar.gz
rneovim-ab65a98adba4d32b03e7296529c4bf1491c783eb.tar.bz2
rneovim-ab65a98adba4d32b03e7296529c4bf1491c783eb.zip
fix(docs): ignore_invalid #24174
Regex bug in scripts/gen_help_html.lua:ignore_invalid()
Diffstat (limited to 'scripts/gen_help_html.lua')
-rw-r--r--scripts/gen_help_html.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua
index f741efcaeb..7f84a4d54d 100644
--- a/scripts/gen_help_html.lua
+++ b/scripts/gen_help_html.lua
@@ -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