Fixed XML parsing error of ampersand '&' for study description

Ampersand within study description was causing error messages in
rdf files while XML parsing. Now this is fixed (by wrapping with CDATA)
This commit is contained in:
Cris
2019-05-28 17:16:27 +02:00
committed by hainberg
parent 7109b7974b
commit fc316efd3d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ if($studiengang_kz!=0)
{
$stg_obj = new studiengang();
$stg_obj->load($studiengang_kz);
$xml.='<studiengang_bezeichnung>'.$stg_obj->bezeichnung.'</studiengang_bezeichnung>';
$xml .= '<studiengang_bezeichnung><![CDATA['. $stg_obj->bezeichnung. ']]></studiengang_bezeichnung>';
}
if($titel!='')