diff --git a/bibtexbrowser-style-default.php b/bibtexbrowser-style-default.php
index 400c743..8f1a09c 100755
--- a/bibtexbrowser-style-default.php
+++ b/bibtexbrowser-style-default.php
@@ -28,7 +28,7 @@ function DefaultBibliographyStyle(&$bibentry) {
// author
if ($bibentry->hasField('author')) {
- $coreInfo = $title . ' ('.$bibentry->formattedAuthors().')';}
+ $coreInfo = $title . ' ('.$bibentry->getFormattedAuthorsImproved().')';}
else $coreInfo = $title;
// core info usually contains title + author
@@ -50,11 +50,7 @@ function DefaultBibliographyStyle(&$bibentry) {
//// we may add the editor names to the booktitle
$editor='';
if ($bibentry->hasField(EDITOR)) {
- $editors = array();
- foreach ($bibentry->getEditors() as $ed) {
- $editors[]=formatAuthor($ed);
- }
- $editor = implode(', ',$editors).', '.(count($editors)>1?'eds.':'ed.');
+ $editor = $bibentry->getFormattedEditors();
}
if ($editor!='') $booktitle .=' ('.$editor.')';
// end editor section