diff options
-rw-r--r-- | timelinejs.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs.module b/timelinejs.module index 61b90fb..65d820d 100644 --- a/timelinejs.module +++ b/timelinejs.module @@ -120,7 +120,7 @@ function timelinejs_fetch_items($nid, $format = 'json') { $nodes = timelinejs_load_events($nid); if (isset($timeline->field_date_format['und'][0]['value'])) { - $date_format = $timeline->field_date_format['und'][0]['value']; + $date_format = check_plain($timeline->field_date_format['und'][0]['value']); } else { $date_format = '%Y,%m,%d'; |