mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +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:
|
else:
|
||||||
text, _, remaining = remaining.partition('|')
|
text, _, remaining = remaining.partition('|')
|
||||||
|
|
||||||
text = parse_text(text, parse_links=False)
|
text = parse_text(text.strip(), parse_links=False)
|
||||||
|
|
||||||
params = None
|
params = None
|
||||||
if remaining:
|
if remaining:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user