Skip to content

Commit

Permalink
tags are caseinsensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
haesleinhuepf committed Oct 13, 2023
1 parent dd2960b commit 88b8be3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate_link_lists.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def find_anything(content, what_to_look_in, what_to_find):
list_to_look_at = c[what_to_look_in]
if type(list_to_look_at) is not list:
list_to_look_at = [list_to_look_at]

list_to_look_at = [str(i).lower() for i in list_to_look_at]
if what_to_find in list_to_look_at:
print("* listing", c['name'])
result[c['name']] = c
Expand Down

0 comments on commit 88b8be3

Please sign in to comment.