diff --git a/app/assets/stylesheets/digest.sass b/app/assets/stylesheets/digest.sass index 72d6066e..80f64c10 100644 --- a/app/assets/stylesheets/digest.sass +++ b/app/assets/stylesheets/digest.sass @@ -11,7 +11,7 @@ body.digests main text-align: left // Some hack so the display is similar to the one on dlfp - .description, .second_part + .description, .second-part p white-space: pre-line diff --git a/app/views/digests/markdown.html.haml b/app/views/digests/markdown.html.haml index 917d7c36..2369f3d1 100644 --- a/app/views/digests/markdown.html.haml +++ b/app/views/digests/markdown.html.haml @@ -23,7 +23,7 @@ %hr -.second_part +.second-part :markdown #{second_part} @@ -90,8 +90,8 @@ value='fr' size='2') .field.description - %label(for='second_part') Seconde partie - %textarea#second_part(name='news[wiki_second_part]')= second_part + %label(for='second-part') Seconde partie + %textarea#second-part(name='news[wiki_second_part]')= second_part .actions %button