Using a view, which displays fields I noticed that Smart Trim doesn't work as expected.
When, for example, you want to dispaly a trimmed body field and strip the html, the html was shown as plain text.
This happens in the _text_sanitize() function when the given item has no text_format defined (fallback).
Normally when displaying a field (non-views) this property is given (set during input).
Therefore I propose to have an option to set the text filter used by the field formatter.
The default option lets the module work as it currently does, but when one of the selected text formats is chosen, it overwrites (or sets in case of views) the used format.
Closed: outdated
1.0
Code
The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.