Remove debugging output

This commit is contained in:
Edward Betts 2023-12-09 18:43:05 +00:00
parent 14d8539298
commit 479dc864fd

View file

@ -362,9 +362,7 @@ def find_link_and_section(q: str, content: str, linkto: str | None = None):
def find_refs(text: str) -> list[str]: def find_refs(text: str) -> list[str]:
"""Find <ref> in wikitext.""" """Find <ref> in wikitext."""
refs = re.findall("<ref(?:[^>]*)>(.+?)</ref>", text) refs = re.findall("<ref(?:[^>]*)>(.+?)</ref>", text)
print(refs)
return refs return refs