checkdocs.py: check <a> with no attributes too
[lttng-docs.git] / tools / checkdocs.py
index 2400253c2c529cb5d7a6f9b12e349b5b528ab79c..05f5279498e1c84c3190dd505ed1edbf31390a20 100755 (executable)
@@ -72,7 +72,7 @@ def _get_toc_ids(path):
 
 def _check_file_links(toc_ids, path, c):
     ilinkp = re.compile(r'\[[^\]]+\]\(([^)]+)\)', flags=re.M)
-    elinkp = re.compile(r'<a\s+[^>]+>')
+    elinkp = re.compile(r'<a(?:\s+[^>]+|\s*)>')
 
     ret = True
 
This page took 0.022609 seconds and 4 git commands to generate.