doc: wikiparser: Strip spaces from attachment's text

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2020-08-28 12:10:03 -04:00
1 parent 5aa31266e2
commit f3dee93a61
1 file changed
+1 -1
+1 -1
View File
@@ -714,7 +714,7 @@ def parse_text(line, context=None, parse_links=True):
else:
text, _, remaining = remaining.partition('|')
text = parse_text(text, parse_links=False)
text = parse_text(text.strip(), parse_links=False)
params = None
if remaining: