From: Philippe Proulx Date: Mon, 13 Oct 2014 21:51:31 +0000 (-0400) Subject: checkdocs.py: check with no attributes too X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=757357fb1410ab06f4aafa0720fa03051657d571;p=lttng-docs.git checkdocs.py: check with no attributes too Signed-off-by: Philippe Proulx --- diff --git a/tools/checkdocs.py b/tools/checkdocs.py index 2400253..05f5279 100755 --- 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']+>') + elinkp = re.compile(r']+|\s*)>') ret = True