Closed (fixed)
Project:
LimeSurvey Sync
Version:
7.x-3.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2017 at 11:46 UTC
Updated:
19 Oct 2017 at 15:25 UTC
Jump to comment: Most recent
Comments
Comment #2
avo webworks commentedComment #3
avo webworks commentedI've done some more searching on this issue. There is a lot of discussion on this issue both in views and in token module but none of the suggestions there work. https://www.drupal.org/node/1713164 or just doing a Google search "drupal views apostrophe". None of the suggestions work.
I also created a views-view-fields-page.tpl.php and have the same problem with theapostrophe being displayed as html.
In my template file I also tried: print str_replace("'", "'", $fields['ls_XXXX-XX']->content); with no success.
Any help would be greatly appreciated.
Comment #4
avo webworks commentedFIXED:
In the file limesurvey_sync_answer.class.inc (API Folder) I changed the check_plain function to the filter_xss function and reran the answer import. Now the apostrophe works and I see no more html.
Comment #5
avo webworks commentedComment #8
thedut commentedHello avostar,
Thank you for this fix !
I have just included it into the v7.x-3.x dev version.