summaryrefslogtreecommitdiff
path: root/tools/make-directive-index.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/make-directive-index.py')
-rwxr-xr-xtools/make-directive-index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-directive-index.py b/tools/make-directive-index.py
index 2bc178de50..5b965f4163 100755
--- a/tools/make-directive-index.py
+++ b/tools/make-directive-index.py
@@ -190,7 +190,7 @@ def _extract_directives(directive_groups, formatting, page):
stor[text].append((pagename, section))
if text not in formatting:
# use element as formatted display
- if name.text[-1] in '= ':
+ if name.text[-1] in "= '":
name.clear()
else:
name.tail = ''