Characters like the ampersand are converted (by input filter?) to their html equivalent,
for example
& -> &
what results in the string not being found by the associated sql query.
This behavior is corrected by applying function "html_entity_decode" to parameter "args" in function _insert_view_substitute_tags like
$view_output = insert_view($view_name, $display_id, html_entity_decode($args));
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | arg_ampersand.patch | 517 bytes | schildi |
Comments
Comment #1
pasqualleComment #2
schildi commentedit is still not solved.
Here is a patch for version 7.x-2.0
Comment #3
sunshinee commentedThanks for sharing this patch. Works as expected... would be great to see this simple change included in the module. Many clients like to use ampersands in taxonomy terms.
Comment #4
igor mashevskyi commentedD6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.
Everyone can apply the patch above (not tested by the maintainers, tested by the community) to their D6 projects.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!