Diff options
Diffstat (limited to 'custom/extensions/about-render.lua')
| -rw-r--r-- | custom/extensions/about-render.lua | 8 |
1 file changed, 1 insertion, 7 deletions
diff --git a/custom/extensions/about-render.lua b/custom/extensions/about-render.lua index fb5dee7..c498ad8 100644 --- a/custom/extensions/about-render.lua +++ b/custom/extensions/about-render.lua @@ -775,13 +775,7 @@ if has_lpeg then -- A no fill block keeps its lines as they are, so only the text of -- each one is wanted there, without its fonts. local function man_plain(text) - local parts = {} - for _, token in ipairs(man_inline_grammar:match(text)) do - if token.kind == "text" then - parts[#parts + 1] = token.text - end - end - return table.concat(parts) + return table.concat(plain_text(man_inline(text), {})) end -- A macro's arguments divide at blanks, except inside double quotes. |
