mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 15:04:04 +00:00
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:
@@ -489,7 +489,7 @@ while ($row=$dbo->db_fetch_object())
|
||||
$stg_kurzbz=strtoupper($row->typ.$row->kurzbz);
|
||||
?>
|
||||
<RDF:Description RDF:about="<?php echo $rdf_url.$stg_kurzbz; ?>" >
|
||||
<VERBAND:name><![CDATA[<?php echo $row->kurzbzlang.' ('.$stg_kurzbz.') - '.htmlspecialchars($row->bezeichnung); ?>]]></VERBAND:name>
|
||||
<VERBAND:name><![CDATA[<?php echo $row->kurzbzlang.' ('.$stg_kurzbz.') - '.$row->bezeichnung; ?>]]></VERBAND:name>
|
||||
<VERBAND:stg><![CDATA[<?php echo $stg_kurzbz; ?>]]></VERBAND:stg>
|
||||
<VERBAND:stg_kz NC:parseType="Integer"><![CDATA[<?php echo $row->studiengang_kz; ?>]]></VERBAND:stg_kz>
|
||||
</RDF:Description>
|
||||
|
||||
Reference in New Issue
Block a user