aboutsummaryrefslogtreecommitdiff
path: root/management/commands/_private.py
diff options
context:
space:
mode:
authorAlban Gruin2018-01-11 14:09:33 +0100
committerAlban Gruin2018-01-11 14:09:33 +0100
commit81cb9b8c6a96fa8529c6d7f6ca55dfd56a1f2e5d (patch)
tree7e80f5d627a4b2c2d34e324d8f09a0c248d35f8d /management/commands/_private.py
parent8a71b0a55847e8783006b5a9514f64e0129578c9 (diff)
On remplace les <br /> dans le champ remarque par des retours à la
ligne lors du parsage, puis on les remplace à nouveau par des <br /> lors du rendu des templates.
Diffstat (limited to 'management/commands/_private.py')
-rw-r--r--management/commands/_private.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/_private.py b/management/commands/_private.py
index 171b6e9..0a3d5fb 100644
--- a/management/commands/_private.py
+++ b/management/commands/_private.py
@@ -68,7 +68,7 @@ def get_event(source, event, event_week, today):
# On récupère le champ « remarque »
if event.notes is not None:
- course.notes = event.notes.text
+ course.notes = "\n".join(event.notes.find_all(text=True))
# On récupère le champ « nom »
if event.resources.module is not None: