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 2020-08-26 18:26:47 -07:00 committed by James Valleroy
parent 5aa31266e2
commit f3dee93a61
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808

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: