Created
March 13, 2012 12:30
-
-
Save psynaptic/2028486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_filter_info(). | |
*/ | |
function ex_mobile_filter_info() { | |
return array( | |
'ex_mobile_strip_p' => array( | |
'title' => t('Strip empty paragraphs'), | |
'description' => t('Removes paragraph tags from text which have only whitespace inside of them.'), | |
'process callback' => 'ex_mobile_filter_ex_mobile_strip_p_process', | |
'cache' => TRUE, | |
'weight' => 25, | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment