* @link https://TheTempusProject.com/Core * @license https://opensource.org/licenses/MIT [MIT LICENSE] */ namespace TheTempusProject\Bedrock\Functions; class Sanitize { /** * This function strips all html tags except for p/a/br from the given string. * * @param {string} [$data] - The string to be parsed * @return {string} - The sanitized string. */ public static function contentShort( $data ) { return strip_tags( $data, '