Gallery displays HTML entities in breadcrumbs. For example, an album named "A & B" is displayed in the breadcrumb path as "A & B".
It's clear that something along the path from drupal_set_breadcrumb() and before the browser is expanding the "&" further, to "&", and the browser is correctly displaying it as "&".
The attached patch calls html_entity_decode() on each breadcrumb element before passing it to drupal_set_breadcrumb() and that seems to correct the problem I'm experiencing, but I haven't studied the code enough to know if the HTML entity even belongs at that level. (It would seem to me that HTML entities should only appear at the time of final rendering, else drupal_set_breadcrumb() should accept HTML entities.)
Comment | File | Size | Author |
---|---|---|---|
gallery.module.patch | 1.12 KB | Daniel Norton |
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedChanging status, as there is a patch.
Comment #2
apadernoI am closing this issue, which is for a not-supported Drupal version.