Docs: fix a sphinx warning by stripping trailing whitespace from ref

This commit is contained in:
neofelis2X
2025-01-27 21:03:47 +01:00
parent 78c40585d8
commit b1a931a34b

View File

@@ -1592,7 +1592,7 @@ class XRef(Node):
text = '' text = ''
elif not isNumeric(text): elif not isNumeric(text):
text = '``%s``'%text text = '``%s``' % text.strip()
elif 'funcmacro' in values: elif 'funcmacro' in values:
if '(' in stripped: if '(' in stripped: