misd-service-development/drupal-feature-teasers — pull request #10 by thewilkybarkid (2014-02-28 15:48:35+00:00)
Title: Wrap smart-trimmed text that has stripped HTML in a paragraph element

The [Smart Trim](https://drupal.org/project/smart_trim) module provides an improved way of automatically generating teaser text by allowing breaking at word boundaries and, more importantly, stripping HTML. The latter feature, however, removes everything, so the text is not even in a paragraph element:

![image](https://f.cloud.github.com/assets/1784740/2295363/0b61a66e-a08f-11e3-8147-80652d919fbb.png)

This PR tries to capture these cases and wraps the content in a paragraph element if no HTML is found (there might be an alternative/better way of doing this).