=== modified file 'dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseDataValues.vm' --- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseDataValues.vm 2013-12-21 17:07:21 +0000 +++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/responseDataValues.vm 2014-06-16 20:30:48 +0000 @@ -8,7 +8,7 @@ #else "id":"${value.dataElement.uid}-${value.optionCombo.uid}", #end - "val":"$!{value.value}", + "val":"$!encoder.jsonEncode( ${value.value} )", "com":"${value.hasComment()}" }#if( $velocityCount < $size1 ),#end #end ], @@ -27,5 +27,5 @@ "locked":${locked}, "complete":${complete}, "date":"$!format.formatDate( $date )", - "storedBy":"$!{storedBy}" + "storedBy":"$!encoder.jsonEncode( ${storedBy} )" }