You are here

static function Messaging_Method::text_clean in Messaging 6.4

Clean text of HTML stuff and optionally of line endings

Parameters

$text: Dirty HTML text to be filtered

$newline: Optional string to be used as line ending

File

includes/messaging_method.class.inc, line 140
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Method
Base class for all Incoming and Sending methods

Code

static function text_clean($text, $newline = NULL) {
  return messaging_text_clean($text, $newline);
}