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 = ''
elif not isNumeric(text):
text = '``%s``'%text
text = '``%s``' % text.strip()
elif 'funcmacro' in values:
if '(' in stripped: