diff options
Diffstat (limited to 'make-directive-index.py')
-rwxr-xr-x | make-directive-index.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/make-directive-index.py b/make-directive-index.py index 15bd9b9341..c61383b0a4 100755 --- a/make-directive-index.py +++ b/make-directive-index.py @@ -185,7 +185,10 @@ def _extract_directives(directive_groups, formatting, page): stor[text].append((pagename, section)) if text not in formatting: # use element as formatted display - name.tail = '' + if name.text[-1] in '= ': + name.clear() + else: + name.tail = '' name.text = text formatting[text] = name |