Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
date_ical
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
drupal.org
date_ical
Commits
20f293e3
Commit
20f293e3
authored
Jul 25, 2013
by
Robert Rollins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue [#2045279]: Date iCal no longer outputs escaped commas and semicolons.
parent
98da70dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
includes/date_ical_plugin_style_ical_feed.inc
includes/date_ical_plugin_style_ical_feed.inc
+6
-0
No files found.
includes/date_ical_plugin_style_ical_feed.inc
View file @
20f293e3
...
...
@@ -295,6 +295,12 @@ class date_ical_plugin_style_ical_feed extends views_plugin_style {
drupal_alter
(
'date_ical_feed_ical_vcalendar_render'
,
$vcalendar
,
$this
->
view
);
$output
=
$vcalendar
->
createCalendar
();
// For some unknown reason (overzealous spec comnpliance?), iCalcreator
// escapes all commas and semicolons in the strings that it outputs.
// This unescapes them, though it does it with a pretty big hammer. This
// might be going too far.
$output
=
str_replace
(
'\,'
,
','
,
$output
);
$output
=
str_replace
(
'\;'
,
';'
,
$output
);
}
else
{
// The iCalcreator library isn't available, so we can't output anything.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment