Closed (fixed)
Project:
Menu Breadcrumb
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2008 at 19:18 UTC
Updated:
13 Apr 2012 at 13:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
gorbeia commentedThis happens because you have set the title to be a link to the content.
In the menu_breadcrumb_init() the drupal_get_title() executes check_plain to the title which converts especial characters to html entities. Then the l function calls check_plain again converting the '&' character to the '&' entity. The l function should be passed a third argument stating that the link content is already clean html content as you can read in the l function documentation.
Comment #2
gorbeia commentedPatch attached
Comment #3
stefan_pn commentedThanks for support
I cant tell if the patch is working, i'll try it on a test site.
Comment #4
wflorian commentedI am using a theme hack to display the title of the actual node in the breadcrumbs. This does work, but I also have to face the same problem as above. Every "&" is a
"&"instead. I am using the following code:Your patch did not work for me.
Is it because I am using D5? The API Code for D5 looks different. Any idea what I can do to solve this problem?
Thank you!
Comment #5
justageek commentedYes, if you look at api.drupal.org/api/function/l/5 you will see the parameter list is completely different, so the patch will not work for D5
I had already hacked this in and it does work for D6
Comment #6
floown commentedThe bug is still present on 6.x-1.x-dev
Comment #7
floown commentedComment #8
julien verkest commentedIt works for me.
Comment #9
les limThe patch in #2 is the proper fix. It's a trivial enough fix to go RTBC, in my opinion.
Comment #10
xurizaemonfixed in http://drupal.org/cvs?commit=257684
thanks
Comment #12
gaëlgFor D7 fix, see #1149304: Handle menu entries with embedded HTML (resolves conflict with "Menu HTML" module).