From eaae95917a458656cb5c1fe31c43198be50c4b38 Mon Sep 17 00:00:00 2001 From: Rachell Calhoun Date: Wed, 3 Apr 2024 14:16:43 -0400 Subject: [PATCH] add linebreaks to text --- indymeet/templates/blocks/left-image-right-text.html | 2 +- indymeet/templates/blocks/right-image-left-text.html | 2 +- indymeet/templates/blocks/text-image-heading.html | 2 +- indymeet/templates/blocks/text-with-heading-left-image.html | 2 +- indymeet/templates/blocks/text-with-heading-right-image.html | 2 +- indymeet/templates/blocks/text-with-heading.html | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/indymeet/templates/blocks/left-image-right-text.html b/indymeet/templates/blocks/left-image-right-text.html index d635095..a3cdf73 100644 --- a/indymeet/templates/blocks/left-image-right-text.html +++ b/indymeet/templates/blocks/left-image-right-text.html @@ -5,7 +5,7 @@
{% image value.image width-1000 %}
-

{{ value.text|safe|urlize }}

+

{{ value.text|safe|urlize|linebreaks }}

diff --git a/indymeet/templates/blocks/right-image-left-text.html b/indymeet/templates/blocks/right-image-left-text.html index c3a9db7..3bec9de 100644 --- a/indymeet/templates/blocks/right-image-left-text.html +++ b/indymeet/templates/blocks/right-image-left-text.html @@ -4,7 +4,7 @@
-

{{ value.text|safe|urlize }}

+

{{ value.text|safe|urlize|linebreaks }}

{% image value.image width-1000 %}
diff --git a/indymeet/templates/blocks/text-image-heading.html b/indymeet/templates/blocks/text-image-heading.html index 24237d4..6b5e30d 100644 --- a/indymeet/templates/blocks/text-image-heading.html +++ b/indymeet/templates/blocks/text-image-heading.html @@ -6,7 +6,7 @@

{{ value.heading|safe }}

{% image value.image fill-900x700 %}
-

{{ value.text|safe|urlize }}

+

{{ value.text|safe|urlize|linebreaks }}

diff --git a/indymeet/templates/blocks/text-with-heading-left-image.html b/indymeet/templates/blocks/text-with-heading-left-image.html index 24237d4..6b5e30d 100644 --- a/indymeet/templates/blocks/text-with-heading-left-image.html +++ b/indymeet/templates/blocks/text-with-heading-left-image.html @@ -6,7 +6,7 @@

{{ value.heading|safe }}

{% image value.image fill-900x700 %}
-

{{ value.text|safe|urlize }}

+

{{ value.text|safe|urlize|linebreaks }}

diff --git a/indymeet/templates/blocks/text-with-heading-right-image.html b/indymeet/templates/blocks/text-with-heading-right-image.html index b232b30..55a5d8d 100644 --- a/indymeet/templates/blocks/text-with-heading-right-image.html +++ b/indymeet/templates/blocks/text-with-heading-right-image.html @@ -5,7 +5,7 @@

{{ value.heading|safe
-

{{ value.text|safe|urlize }}

+

{{ value.text|safe|urlize|linebreaks }}

{% image value.image fill-900x700 %}
diff --git a/indymeet/templates/blocks/text-with-heading.html b/indymeet/templates/blocks/text-with-heading.html index eeae2b6..01f4636 100644 --- a/indymeet/templates/blocks/text-with-heading.html +++ b/indymeet/templates/blocks/text-with-heading.html @@ -2,7 +2,7 @@

{{ value.heading }}

-

{{ value.text|safe|urlize }}

+

{{ value.text|safe|urlize|linebreaks }}