Commit f8b9f8f7 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1846102: Replaced Smarty function 'truncate' with str_shorten_html()."

parents e3835cbb b6f6d03f
......@@ -22,7 +22,7 @@
<span class="icon icon-wrench text-default left" role="presentation" aria-hidden="true"></span>
{/if}
<span class="sr-only">{$i->strtype}</span>
{$i->subject|truncate:50}
{$i->subject|str_shorten_html:50:true|safe}
<span class="icon icon-chevron-down collapse-indicator float-right text-small" role="presentation" aria-hidden="true"></span>
</a>
{/if}
......
......@@ -41,7 +41,7 @@
</span>
{/if}
<span class="subject">
{$item->subject|truncate:80}
{$item->subject|str_shorten_html:50:true|safe}
</span>
<span class="metadata">
......
......@@ -31,7 +31,7 @@
</span>
{/if}
{$item->subject|truncate:40}
{$item->subject|str_shorten_html:50:true|safe}
<span class="metadata"> -
<span>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment