dev-core#1079: Improper character encoding breaks xml processor
authorMonish Deb <deb.monish@gmail.com>
Thu, 27 Jun 2019 11:33:28 +0000 (17:03 +0530)
committerMonish Deb <deb.monish@gmail.com>
Thu, 27 Jun 2019 11:33:56 +0000 (17:03 +0530)
templates/CRM/Case/XMLProcessor/Report.tpl

index a3384c5c5e9d218e087771f5f5fe47353fcba250..99f8aa94819d790ea9bcab095a8e0d2d6862dd00 100644 (file)
@@ -25,7 +25,7 @@
 *}
 <?xml version="1.0" encoding="UTF-8"?>
 <Case>
-  <Client>{$case.clientName}</Client>
+  <Client>{$case.clientName|escape}</Client>
   <CaseType>{$case.caseType}</CaseType>
   <CaseSubject>{$case.subject|escape}</CaseSubject>
   <CaseStatus>{$case.status}</CaseStatus>
@@ -70,4 +70,3 @@
 {/foreach}
   </ActivitySet>
 </Case>
-