You are here

function _no_nbsp_tips in No Non-breaking Space Filter 7

Implements hook_filter_FILTER_tips().

Tips callback for hook_filter_info().

See also

no_nbsp_filter_info()

Related topics

1 string reference to '_no_nbsp_tips'
no_nbsp_filter_info in ./no_nbsp.module
Implements hook_filter_info().

File

./no_nbsp.module, line 65
A filter module that deletes all non-breaking spaces.

Code

function _no_nbsp_tips($filter, $format, $long = FALSE) {
  $tips = array();
  $tips[] = t('All non-breaking space HTML entities are replaced by blank space characters.');
  if ($long) {
    $tips[] = t('Multiple contiguous space characters are replaced by a single blank space character.');
  }
  return implode(' ', $tips);
}