nono/HTML-Truncator — pull request #7 by tinynumbers (2013-07-18 12:52:53+00:00)
Title: Don't truncate object tags

`object` tags (with nested `param` and `embed` tags) should not be truncated, since the end result was an empty `object` tag. For example, this YouTube embed tag...

... was being returned in the truncated output as ...

I've updated the parsing to pass through `object` tags intact without parsing the tag contents.

Feel free to suggest a more robust approach.