From 17e2e95b530018c0f090a20dfee2246acc4f4f94 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Mon, 21 Oct 2013 18:26:45 +0200 Subject: [PATCH] properly quote quotes in type field --- lib/template/search-xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/template/search-xml.php b/lib/template/search-xml.php index dfcf1375..693330bb 100644 --- a/lib/template/search-xml.php +++ b/lib/template/search-xml.php @@ -80,7 +80,7 @@ echo " display_name='".htmlspecialchars($aResult['name'], ENT_QUOTES)."'"; echo " class='".htmlspecialchars($aResult['class'])."'"; - echo " type='".htmlspecialchars($aResult['type'])."'"; + echo " type='".htmlspecialchars($aResult['type'], ENT_QUOTES)."'"; echo " importance='".htmlspecialchars($aResult['importance'])."'"; if (isset($aResult['icon']) && $aResult['icon']) { -- 2.39.5