Closed (fixed)
Project:
Menu Breadcrumb
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2013 at 11:57 UTC
Updated:
25 Jul 2021 at 20:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vaibhavjainWorks as desired.
Can you please provide more info
Comment #2
VanessaM commentedWhen Menu item contains '&', it appears as '&' in the breadcrumb
Comment #3
vaibhavjainVanessaM, what is the behavior you are expecting ?
If a character which is entered is shown as is, it is working as desired.
Comment #4
VanessaM commentedI was expecting to see: '&' not '&'
Comment #5
vaibhavjainVanessaM,
I am attaching an image, it looks to be good on my end, Can you also upload an screenshot, that would be helpful.
Comment #6
vaibhavjainComment #7
Avi.Kumar commentedWhen Menu item contains &, it appears as &.
Example:
Menu Item -> Fruits & Vegetables
Breadcrumb will show -> Fruits &-amp; Vegetables
( Note I have added dash after ampersand symbol, to prevent it being interpreted as code)
Comment #8
hem_awalker commentedI have a similar issue where an apostrophe ' in the title of a page displays as '
My guess is there needs to be a html_entity_decode in there somewhere.
Comment #9
joshua1234511Issue still exits.
When Menu item contains &, it appears as & in the breadcrumb
Comment #10
rphair commentedThis doesn't happen from the latest version of Menu Breadcrumb on either D8 or D9, and it didn't happen in version 8.x-1.4 either. We've had web page titles with
&in them in our test data from back when this module was in alpha, so it's never been a problem in any 8.x version. Sure it might still be a problem with 7.x but the current maintainer can't reproduce any D7 issues let alone fix them.Therefore I'm setting the Version back to what it was before the last comment. If the last commenter is seeing this then it's the result of some other module or theme action, not the 8.x version of menu_breadcrumb.
Comment #11
xurizaemonSuggest to take a look at #1827204: special characters such as '&' are double-escaped by twitter_bootstrap_menu_link - should not be sanitizing which was a contemporaneous bug in Bootstrap theme.