diff --git a/js/src/forum/addSummaryExcerpt.js b/js/src/forum/addSummaryExcerpt.js index bcab11d..c4570c1 100755 --- a/js/src/forum/addSummaryExcerpt.js +++ b/js/src/forum/addSummaryExcerpt.js @@ -35,7 +35,7 @@ export default function addSummaryExcerpt() { if (excerptPost) { const excerpt = ( -
+
{richExcerpt ? m.trust(truncate(excerptPost.contentHtml(), excerptLength)) : truncate(excerptPost.contentPlain(), excerptLength)}
); diff --git a/resources/less/forum/extension.less b/resources/less/forum/extension.less index 59186c5..2a50da1 100644 --- a/resources/less/forum/extension.less +++ b/resources/less/forum/extension.less @@ -7,6 +7,10 @@ color: @muted-more-color; display: block; + // Fallback for `inert` HTML attribute + // Prevents interactivity with items within the excerpt + pointer-events: none; + img { max-width: 100% }