You are here

function _bear_necessities_kill_nbsp in Bear 7

Same name and namespace in other branches
  1. 7.2 modules/bear_necessities/bear_necessities.module \_bear_necessities_kill_nbsp()

Filter callbacks.

1 string reference to '_bear_necessities_kill_nbsp'
bear_necessities_filter_info in modules/bear_necessities/bear_necessities.module
Implements hook_filter_info().

File

modules/bear_necessities/bear_necessities.module, line 111

Code

function _bear_necessities_kill_nbsp($text, $filter) {
  return preg_replace('/ /', ' ', $text);
}