function _coder_review_drush_output in Coder 7.2
Same name and namespace in other branches
- 7 coder_review/coder_review.drush.inc \_coder_review_drush_output()
Strips all HTML tags from drush output.
Parameters
string $output: A string that may contain one or more HTML tags.
Return value
string A modified string without any HTML tags.
2 calls to _coder_review_drush_output()
- coder_review_print_drush_messages in coder_review/
coder_review.drush.inc - Prints Coder review messages in a format for drush use.
- theme_drush_coder_review_warning in coder_review/
coder_review.drush.inc - Returns warning message, including source snippet, in format for drush use.
File
- coder_review/
coder_review.drush.inc, line 716 - Command line utility support for Coder_review module.
Code
function _coder_review_drush_output($output) {
return html_entity_decode(strip_tags($output));
}