Sunday, January 15, 2012

[BS] Shortcode to strip certain html elements from block of text

In 9.9.2.2. we’ve added a shortcode called [CLEANHTML] that enables us to remove html elements that we specify from a block of content.

This shortcode can be a replacement for stripping images,links, and any other html element from a block of text.

Here’s an example of how we would use it:

[cleanhtml: