From f3dee93a61bd7d54639170bb80720be1e2ff8da0 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 26 Aug 2020 18:26:47 -0700 Subject: [PATCH] doc: wikiparser: Strip spaces from attachment's text Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- doc/scripts/wikiparser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scripts/wikiparser.py b/doc/scripts/wikiparser.py index b133040f5..51bae56e5 100644 --- a/doc/scripts/wikiparser.py +++ b/doc/scripts/wikiparser.py @@ -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: