You are here

function biblio_remove_brace_callback in Bibliography Module 7

Same name and namespace in other branches
  1. 6.2 biblio.module \biblio_remove_brace_callback()
  2. 6 biblio.module \biblio_remove_brace_callback()
  3. 7.2 biblio.module \biblio_remove_brace_callback()
1 string reference to 'biblio_remove_brace_callback'
biblio_remove_brace in ./biblio.module

File

./biblio.module, line 1141
Bibliography Module for Drupal.

Code

function biblio_remove_brace_callback($match) {
  if (isset($match[1])) {
    $braceless = str_replace('{', '', $match[1]);
    $braceless = str_replace('}', '', $braceless);
    return $braceless;
  }
  return $match[0];
}