diff --git a/misc/script/reconfigure.sh b/misc/script/reconfigure.sh index c0fab67..9f77b3b 100755 --- a/misc/script/reconfigure.sh +++ b/misc/script/reconfigure.sh @@ -7,6 +7,8 @@ cd ${DIR} cd ../.. DIR=$(pwd) +bin/console cache:clear --env=dev +bin/console cache:clear --env=prod bin/console d:s:u --force --complete bin/console app:init diff --git a/templates/group/view.html.twig b/templates/group/view.html.twig index 25f8ecb..3e22281 100644 --- a/templates/group/view.html.twig +++ b/templates/group/view.html.twig @@ -64,7 +64,7 @@
Pad du Group
- {{ group.description ? group.description|markdown_to_html : "" }} + {{ group.description ? group.description|markdown_to_html|nl2br : "" }}
diff --git a/templates/project/edit.html.twig b/templates/project/edit.html.twig index 6a4c17c..60953df 100644 --- a/templates/project/edit.html.twig +++ b/templates/project/edit.html.twig @@ -64,8 +64,8 @@ {{option.title}} - {{option.whyYes?option.whyYes|markdown_to_html:""}} - {{option.whyNot?option.whyNot|markdown_to_html:""}} + {{option.whyYes?option.whyYes|markdown_to_html|nl2br:""}} + {{option.whyNot?option.whyNot|markdown_to_html|nl2br:""}} {% endfor %} diff --git a/templates/project/view.html.twig b/templates/project/view.html.twig index 0bcd111..00bc9c4 100644 --- a/templates/project/view.html.twig +++ b/templates/project/view.html.twig @@ -112,11 +112,11 @@
- {{option.whyYes?option.whyYes|markdown_to_html:""}} + {{option.whyYes?option.whyYes|markdown_to_html|nl2br:""}}
- {{option.whyNot?option.whyNot|markdown_to_html:""}} + {{option.whyNot?option.whyNot|markdown_to_html|nl2br:""}}
@@ -125,7 +125,7 @@
Description du Projet
- {{ project.description ? project.description|markdown_to_html : "" }} + {{ project.description ? project.description|markdown_to_html|nl2br: "" }}