Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

384 add linebreaks to text #385

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion indymeet/templates/blocks/left-image-right-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>{% image value.image width-1000 %}</div>
<div>
<p>{{ value.text|safe|urlize }}</p>
<p>{{ value.text|safe|urlize|linebreaks }}</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion indymeet/templates/blocks/right-image-left-text.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="mt-3 ">
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<p class="md:text-right">{{ value.text|safe|urlize }}</p>
<p class="md:text-right">{{ value.text|safe|urlize|linebreaks }}</p>
</div>
<div class="md:float-right">{% image value.image width-1000 %}</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion indymeet/templates/blocks/text-image-heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2 class="mt-4 mb-4 text-4xl blog-heading">{{ value.heading|safe }}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>{% image value.image fill-900x700 %}</div>
<div>
<p>{{ value.text|safe|urlize }}</p>
<p>{{ value.text|safe|urlize|linebreaks }}</p>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h2 class="mt-4 mb-4 text-4xl blog-heading">{{ value.heading|safe }}</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>{% image value.image fill-900x700 %}</div>
<div>
<p>{{ value.text|safe|urlize }}</p>
<p>{{ value.text|safe|urlize|linebreaks }}</p>
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ <h2 class="mt-4 mb-4 text-4xl blog-heading md:text-right">{{ value.heading|safe
<div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<div>
<p class="md:text-right">{{ value.text|safe|urlize }}</p>
<p class="md:text-right">{{ value.text|safe|urlize|linebreaks }}</p>
</div>
<div>
<div class="md:float-right">{% image value.image fill-900x700 %}</div>
Expand Down
2 changes: 1 addition & 1 deletion indymeet/templates/blocks/text-with-heading.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2 class="mt-4 mb-4 text-4xl blog-heading">{{ value.heading }}</h2>
<div class="text-container">
<div>
<p>{{ value.text|safe|urlize }}</p>
<p>{{ value.text|safe|urlize|linebreaks }}</p>
</div>
</div>
</div>