checkdocs.py: check <a> with no attributes too
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 13 Oct 2014 21:51:31 +0000 (17:51 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 13 Oct 2014 21:51:31 +0000 (17:51 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
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.02318 seconds and 4 git commands to generate.