** Changed in: mahara
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1846102
Title:
Multibyte message subject on Inbox block corrupted
Status in Mahara:
Fix Released
Bug description:
Multibyte message subjects on Inbox block are corrupted by Smarty function
'truncate'.
So it's better for us to use the Mahara function str_shorten_html() instead
as below.
File to modify:
theme/raw/plugintype/blocktype/inbox/templates/inboxmr.tpl
Line:
25
[ Before ]
<span class="sr-only">{$i->strtype}</span>
{$i->subject|truncate:50}
[ After ]
<span class="sr-only">{$i->strtype}</span>
{$i->subject|str_shorten_html:50:true|safe}
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1846102/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help : https://help.launchpad.net/ListHelp