Révision ca0757b9
Ajouté par Assos Assos il y a plus de 9 ans
drupal7/sites/all/modules/date_ical/includes/date_ical_plugin_row_ical_fields.inc | ||
---|---|---|
226 | 226 |
drupal_alter('date_ical_export_html', $text_fields, $this->view, $context); |
227 | 227 |
|
228 | 228 |
// Sanitize the text fields for iCal compliance, and add them to the event. |
229 |
// Also strip all HTML from the summary and location fields, since they |
|
230 |
// must be plaintext, and may have been set as links by the view. |
|
231 |
$event['summary'] = date_ical_sanitize_text(strip_tags($text_fields['summary'])); |
|
232 |
$event['location'] = date_ical_sanitize_text(strip_tags($text_fields['location'])); |
|
229 |
$event['summary'] = date_ical_sanitize_text($text_fields['summary']); |
|
230 |
$event['location'] = date_ical_sanitize_text($text_fields['location']); |
|
233 | 231 |
$event['description'] = date_ical_sanitize_text($text_fields['description']); |
234 | 232 |
|
235 |
// Allow other modules to alter the event object, before it gets passed to
|
|
233 |
// Allow other modules to alter the event object before it gets passed to |
|
236 | 234 |
// the style plugin to be converted into an iCal VEVENT. |
237 | 235 |
drupal_alter('date_ical_export_raw_event', $event, $this->view, $context); |
238 | 236 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules