diff --git a/ObjectHelper.inc b/ObjectHelper.inc index e84a297e..6bc4d8a9 100644 --- a/ObjectHelper.inc +++ b/ObjectHelper.inc @@ -345,7 +345,7 @@ class ObjectHelper { } $xsl = $proc->importStylesheet($xsl); $newdom = $proc->transformToDoc($input); - $output = $newdom->saveXML(); + $output = $newdom->saveHTML(); return $output; } diff --git a/fedora_repository.module b/fedora_repository.module index 10d48acd..4ed5cb4b 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -815,7 +815,7 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU //the below is for islandlives we should be able to do this in the xslt though //$css=$path.'/stylesheets/container-large.css'; //drupal_add_css($css); - return tabs_render($cmodels_tabs) . ''; + return tabs_render($cmodels_tabs); } function fedora_repository_urlencode_string($str) {