You are here

function _emptyparagraphkiller_tips in Empty paragraph killer 7

Tips callback for emptyparagraphkiller

1 string reference to '_emptyparagraphkiller_tips'
emptyparagraphkiller_filter_info in ./emptyparagraphkiller.module
Implements hook_filter_info().

File

./emptyparagraphkiller.module, line 40
Empty paragraph killer: because users are sometimes overzealous with the return key.

Code

function _emptyparagraphkiller_tips($filter, $format, $long) {
  if ($long) {
    return t('Your typing habits may include hitting the return key twice when completing a paragraph. This site will accomodate your habit, and ensure the content is in keeping with the the stylistic formatting of the site\'s theme.');
  }
  else {
    return t('Empty paragraph killer - multiple returns will not break the site\'s style.');
  }
}