From 2e24d92b5b7d451909da1d748c1ae958c1983607 Mon Sep 17 00:00:00 2001 From: Jonathan Green Date: Tue, 1 Nov 2016 16:37:27 -0300 Subject: [PATCH] Updated based on feedback in pull request --- theme/islandora-dublin-core-description.tpl.php | 2 +- theme/theme.inc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/theme/islandora-dublin-core-description.tpl.php b/theme/islandora-dublin-core-description.tpl.php index f3400e28..2ff54cdc 100644 --- a/theme/islandora-dublin-core-description.tpl.php +++ b/theme/islandora-dublin-core-description.tpl.php @@ -15,6 +15,6 @@

-

+

diff --git a/theme/theme.inc b/theme/theme.inc index 725b2e17..b478401c 100644 --- a/theme/theme.inc +++ b/theme/theme.inc @@ -646,6 +646,7 @@ function islandora_preprocess_islandora_dublin_core_description(array &$variable } } $variables['dc_array'] = isset($dc_object) ? $dc_object->asArray() : array(); + $variables['dc_array']['dc:description']['value'] = nl2br(filter_xss($variables['dc_array']['dc:description']['value'])); } /**