Fix keyword list entries with underscores

This commit is contained in:
Matthias Krack 2023-08-11 09:46:29 +02:00 committed by Ole Schütt
parent f437168fd5
commit a7dbf5514b

View file

@ -148,7 +148,9 @@ def process_section(
output += ["## Keywords", ""]
for keyword in keywords:
keyword_name = get_name(keyword)
output += [f"* <a href='#{keyword_name}'>{keyword_name}</a>"]
output += [
f"* <a href='#{keyword_name}'>" f"{escape_markdown(keyword_name)}</a>"
]
output += [""]
# Render keywords
output += ["## Keyword descriptions", ""]