Skip to content
Snippets Groups Projects
Commit e5b76b7c authored by ynerant's avatar ynerant
Browse files

Linebreaks are rendered as <<BR>> in the wiki

parent 4506dd4d
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ class Command(BaseCommand):
title=act.name,
start=timezone.localtime(act.date_start).strftime("%Y-%m-%d %H:%M"),
end=timezone.localtime(act.date_end).strftime("%Y-%m-%d %H:%M"),
description=act.description,
description=act.description.replace("\r", "").replace("\n", "<<BR>>"),
club=act.organizer.name,
location=act.location,
)
......@@ -108,7 +108,7 @@ class Command(BaseCommand):
return "|| {start} || {title} || {description} || {club} || {location} ||".format(
title=act.name,
start=timezone.localtime(act.date_start).strftime("%d/%m/%Y"),
description=act.description,
description=act.description.replace("\r", "").replace("\n", "<<BR>>"),
club=act.organizer.name,
location=act.location,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment