diff options
author | Silvio <silvio@socioambiental.org> | 2012-08-03 18:13:10 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-08-03 18:13:10 -0300 |
commit | 80780c512b5a30035453023e1c60fb95e13fc505 (patch) | |
tree | 9102fe6a4f84fb85f6c4269e150fb87411b61842 | |
parent | e20c43c7eddf238cb405d36407e4bced123edc86 (diff) | |
download | timelinejs-80780c512b5a30035453023e1c60fb95e13fc505.tar.gz timelinejs-80780c512b5a30035453023e1c60fb95e13fc505.tar.bz2 |
Replacing quotes
-rw-r--r-- | timelinejs_json_event.tpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs_json_event.tpl.php b/timelinejs_json_event.tpl.php index 8637e83..269d162 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 strip_tags($event->body['und'][0]['value']); ?>", + "text":"<?php print str_replace('"', '"', $event->body['und'][0]['value']); ?>", "asset": { <?php if (!empty($event->field_embed)) { ?> |