Ampersands in flickr Title Fields Entified
xolotl - February 1, 2009 - 05:50
| Project: | Flickr Sync |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Ampersands in flickr title fields are sync'd to nodes as &.

#1
It's true, and, HTML in captions gets entified, too, I've noticed... regardless of what you've got as your default input type on the site.
#2
it might present some kind of security hole to import unscrubbed html, but i got around the entifying by changing line 671 from
$content .= '<p>'. htmlentities(html_entity_decode($flickr_photo['description'])) .'</p>';to
$content .= '<p>'. $flickr_photo['description'] .'</p>';