fix(docs): include ? in list items #35945

This commit is contained in:
Maria Solano
2025-09-28 17:13:35 -07:00
committed by GitHub
parent 0fa0717d4e
commit 8a76129d9f

View File

@@ -633,7 +633,7 @@ local function visit_node(root, level, lang_tree, headings, opt, stats)
end
return s
elseif node_name == 'argument' then
return ('%s<code>{%s}</code>'):format(ws(), text)
return ('%s<code>%s</code>'):format(ws(), trim(node_text(root)))
elseif node_name == 'codeblock' then
return text
elseif node_name == 'language' then