mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-07-22 22:30:46 -04:00
fix glossary footnotes
This commit is contained in:
parent
aafcc0969b
commit
cf2025b3a6
2 changed files with 5 additions and 5 deletions
|
@ -152,7 +152,7 @@ class Converter:
|
|||
|
||||
# List glossary entries that appear in the Markdown content
|
||||
glossary_entries = set()
|
||||
for match in re.findall(r'\[.*?\]\(/glossary\/?#(.*?)\)', markdown_content):
|
||||
for match in re.findall(r'\[.*?\]\((?:|/fr)/glossary\/?#(.*?)\)', markdown_content):
|
||||
glossary_entries.add(slugify.slugify(match))
|
||||
|
||||
# Add glossary entries to the Markdown content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue