From 21e6476365e83c28971e4a3a0c3e452ec32b799d Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 3 Aug 2012 18:57:10 -0300 Subject: Converting line breaks to avoid unrendered timeline --- timelinejs_json_event.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timelinejs_json_event.tpl.php b/timelinejs_json_event.tpl.php index 22a3b5d..7ec50dd 100644 --- a/timelinejs_json_event.tpl.php +++ b/timelinejs_json_event.tpl.php @@ -1,7 +1,7 @@ { "startDate":"field_date['und'][0]['value'])); ?>", "headline":"title; ?>", - "text":"body['und'][0]['value']); ?>", + "text":"', str_replace('"', '"', $event->body['und'][0]['value'])); ?>", "asset": { field_embed)) { ?> -- cgit v1.2.3