https://twig.symfony.com/doc/3.x/filters/striptags.html https://twig.symfony.com/doc/2.x/filters/length.html
{% if post.title | striptags | length < 100 %} <h2 class="card-title">{{ post.title | raw | nl2br }}</h2> {% elseif post.title | striptags | length < 125 %} <p class="card-text main">{{ post.title | raw | nl2br }}</p> {% else %} <p class="card-text">{{ post.title | raw | nl2br }}</p> {% endif %}
These should probably use different classes throughout, instead of different elements. Too much semantic change.
marked this issue as related to #36
Created issue #36 to address previous comment. Closing this one.
No dependencies set.
The note is not visible to the blocked user.
https://twig.symfony.com/doc/3.x/filters/striptags.html
https://twig.symfony.com/doc/2.x/filters/length.html
These should probably use different classes throughout, instead of different elements. Too much semantic change.
marked this issue as related to #36
Created issue #36 to address previous comment. Closing this one.