diff --git a/rdf/diplomasupplement.xml.php b/rdf/diplomasupplement.xml.php
index 7d63cf198..54750e926 100644
--- a/rdf/diplomasupplement.xml.php
+++ b/rdf/diplomasupplement.xml.php
@@ -280,8 +280,6 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
}
//Anforderungen durch Lernergebnisse des Studiums ersetzen
-
- // Überprüfen, ob addon studiengangsverwaltung aktiv ist
$addon_obj = new addon();
$addonStgAktiv = $addon_obj->checkActiveAddon("studiengangsverwaltung");
@@ -295,6 +293,7 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
if (isset($qualifikationsziel->result[0]))
{
$qualifikation_beschreibung = $qualifikationsziel->result[0]->data[1]->elements[0];
+ $qualifikation_beschreibung = json2odt($qualifikation_beschreibung);
echo "$qualifikation_beschreibung";
}
@@ -302,9 +301,6 @@ if (isset($_REQUEST["xmlformat"]) && $_REQUEST["xmlformat"] == "xml")
else
echo '0';
-
-
-
if($row->typ=='d')
{
echo ' UNESCO ISCED 7';
@@ -1148,6 +1144,14 @@ function cmp($a, $b)
return strcmp($a->bezeichnung, $b->bezeichnung);
}
+//newline \n durch string '\n' ersetzen (für Qualifikationsziele)
+function json2odt($str)
+{
+ $str = str_replace(array("\r\n", "\r", "\n"), '\n', $str);
+
+ return $str;
+}
+
function printLehrveranstaltungTree($tree)
{
global $summe_ects_semester, $summe_sws_semester;