You are here

function biblio_remove_brace_callback in Bibliography Module 6

Same name and namespace in other branches
  1. 6.2 biblio.module \biblio_remove_brace_callback()
  2. 7 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 1047

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];
}