summaryrefslogtreecommitdiff
path: root/timelinejs_json_event.tpl.php
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-08-06 16:20:37 -0300
committerSilvio <silvio@socioambiental.org>2012-08-06 16:20:37 -0300
commit969303abc0f04a14e0be287f83b895ef4eaae4d3 (patch)
treecb6ef701387de38dd826b2f01781d8b57f835265 /timelinejs_json_event.tpl.php
parent76b90eb0099e8d6ae3bc0ede4c7a973c5cc58b0b (diff)
downloadtimelinejs-969303abc0f04a14e0be287f83b895ef4eaae4d3.tar.gz
timelinejs-969303abc0f04a14e0be287f83b895ef4eaae4d3.tar.bz2
Always convert to single quotes at event template
Diffstat (limited to 'timelinejs_json_event.tpl.php')
-rw-r--r--timelinejs_json_event.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs_json_event.tpl.php b/timelinejs_json_event.tpl.php
index 7ec50dd..1cd0e85 100644
--- a/timelinejs_json_event.tpl.php
+++ b/timelinejs_json_event.tpl.php
@@ -1,7 +1,7 @@
{
"startDate":"<?php print strftime('%Y,%m,%d', strtotime($event->field_date['und'][0]['value'])); ?>",
"headline":"<?php print $event->title; ?>",
- "text":"<?php print str_replace(array("\r\n", "\n", "\r"), '<br>', str_replace('"', '&quot;', $event->body['und'][0]['value'])); ?>",
+ "text":"<?php print str_replace(array("\r\n", "\n", "\r"), '<br>', str_replace('"', "'", $event->body['und'][0]['value'])); ?>",
"asset":
{
<?php if (!empty($event->field_embed)) { ?>