webbuilders-group / silverstripe-kapost-bridge

Bridge for Kapost driven content authoring, provides support for basic content pages. But also provides a flexible api to allow for custom content types.
Other
2 stars 1 forks source link

Strip Kapost thread tags from the description field #14

Closed UndefinedOffset closed 9 years ago

UndefinedOffset commented 9 years ago

We should come up with away to strip (if possible) the tag added to the description field when the Kapost content author(s) use the comment feature of the WYSIWYG. It shouldn't be an overly impactful thing if we can't strip it but it would be nice if we could with minimal overhead but good accuracy.

For reference this appears to be what is added to the content, at the very least we should strip the inner span.

<span><span thread="1234567890" class="thread">dolor tortor eget mauris</span></span>