Fixed img and table on search results summary

This commit is contained in:
pmoreno.rodriguez 2023-02-06 09:59:45 +01:00 committed by GitHub
parent 1c6ccf9d03
commit d0d719eecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@
<div class="search-details">
<span class="search-date">{{ page.date|date(config.system.pages.dateformat.short) }}</span>
</div>
{{ page.summary|truncate(300, true)|raw }}
{{ page.summary|striptags('img table')|truncate(300, true)|raw }}
</div>
</section>