mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2025-06-05 21:49:32 +02:00
Truncate long card descriptions
This is useful for bots like the Onion repeater that stuff whole articles into the description field.
This commit is contained in:
@@ -87,7 +87,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</strong>
|
</strong>
|
||||||
|
|
||||||
<p>{{ toot.card.description }}</p>
|
<p>{{ toot.card.description |truncatechars_html:500}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user