You are here

function bs_cleanup_domdocument in Bootstrap 3 shortcodes 7

File

includes/functions.php, line 15

Code

function bs_cleanup_domdocument($content) {
  $content = preg_replace('#(( ){0,}<br( {0,})(/{0,1})>){1,}$#i', '', $content);
  return $content;
}