diff --git a/drupal/profiles/scf/modules/contrib/biblio/biblio_theme.inc b/drupal/profiles/scf/modules/contrib/biblio/biblio_theme.inc index 0859dce..8bd83e8 100644 --- a/drupal/profiles/scf/modules/contrib/biblio/biblio_theme.inc +++ b/drupal/profiles/scf/modules/contrib/biblio/biblio_theme.inc @@ -382,6 +382,7 @@ function theme_biblio_format_authors($contributors, $options, $inline = false) // to initials, i.e., only retain their first character $author['firstname'] = preg_replace("/([$upper])[$lower]+/$patternModifiers", '\\1', $author['firstname']); //$author['firstname'] = drupal_substr($author['firstname'], 0, 1); + $author['firstname'] = preg_replace("/($space|$dash)?/$patternModifier", $options['betweenInitialsDelim'], $author['firstname']); } } if (isset($author['initials'])) {