projects
/
lttng-docs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
checkdocs.py: check <a> with no attributes too
[lttng-docs.git]
/
tools
/
checkdocs.py
diff --git
a/tools/checkdocs.py
b/tools/checkdocs.py
index 2400253c2c529cb5d7a6f9b12e349b5b528ab79c..05f5279498e1c84c3190dd505ed1edbf31390a20 100755
(executable)
--- a/
tools/checkdocs.py
+++ b/
tools/checkdocs.py
@@
-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.023702 seconds
and
4
git commands to generate.