mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
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:
parent
5aa31266e2
commit
f3dee93a61
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user