From 16b567540b7663a010ca2783c2e7746da36724b8 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Tue, 19 Apr 2011 08:48:49 -0300 Subject: [PATCH] ISLANDORA-244 moved superfluous closing div tag --- ObjectHelper.inc | 2 +- fedora_repository.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {