A wrapper around the checkplain method.

Under most circumstances this filter should not be needed, all output is escaped by default. If escaping is turned off, you can use the checkplain filter to return a HTML safe version of the given string. Check out the twig Autoescape tag, because that tag can handle more scenarios.

 {{ '<h3>Title</h3>'|checkplain }}