summaryrefslogtreecommitdiff
path: root/timelinejs_json_event.tpl.php
diff options
context:
space:
mode:
authorSilvio <silvio@socioambiental.org>2012-08-03 18:09:06 -0300
committerSilvio <silvio@socioambiental.org>2012-08-03 18:09:06 -0300
commite20c43c7eddf238cb405d36407e4bced123edc86 (patch)
treee109a0bccfc4edcd72ce078d9d9e5600ddf0195a /timelinejs_json_event.tpl.php
parentfa3d2c161de22cf0a125a527864aca218612b0d7 (diff)
downloadtimelinejs-e20c43c7eddf238cb405d36407e4bced123edc86.tar.gz
timelinejs-e20c43c7eddf238cb405d36407e4bced123edc86.tar.bz2
Testing timeline text without tags
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 90846f8..8637e83 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 $event->body['und'][0]['value']; ?>",
+ "text":"<?php print strip_tags($event->body['und'][0]['value']); ?>",
"asset":
{
<?php if (!empty($event->field_embed)) { ?>