Match HTML tags regardless of case.
@@ -168,8 +168,8 @@ def registered_vendor_ids():
# closing </A> for which no opening <A> is present, which causes
# beautifulsoup to silently stop processing that section from the error
# onwards. We're not using the href's anyway.
- content = re.sub("<a[^>]*>", "", content)
- content = re.sub("</a>", "", content)
+ content = re.sub("<a[^>]*>", "", content, flags=re.IGNORECASE)
+ content = re.sub("</a>", "", content, flags=re.IGNORECASE)
soup = BeautifulSoup(content, 'html.parser')
IDs = [chr(c + ord('a')) for c in range(ord('z') - ord('a') + 1)]
