After installation & displays as & in breadcrumbs

CommentFileSizeAuthor
#5 2014-09-05_09-45-27.png4.99 KBkalabro

Comments

sonobor’s picture

Title: & shows up as & » & shows up as &amp ;

Should read after installing breadcrumbs "&" becomes "&amp ;"

spleshka’s picture

Update module to the latest version. Then check "Decode HTML entities" setting (should be enabled) on settings page (/admin/structure/path-breadcrumbs/settings).

I can't reproduce this bug on 7.x-3.x.

spleshka’s picture

Status: Active » Closed (cannot reproduce)

Close this issue. Please, feel free to reopen it if you have any questions.

vinmassaro’s picture

Version: 7.x-2.0-beta7 » 7.x-3.x-dev
Issue summary: View changes
Status: Closed (cannot reproduce) » Active

I'm reopening this issue because I can reproduce the problem like this:

  1. Enable Path Breadcrumbs
  2. Visit a node that does not have a Path Breadcrumb rule defined, with a page title containing an ampersand, like 'Me & My Friend'
  3. The breadcrumb is output as 'Me &amp ; My Friend'

It appears that the 'Decode HTML entities' setting does not work if the 'Use module breadcrumbs render function' default setting is set. Thanks.

kalabro’s picture

Status: Active » Postponed (maintainer needs more info)
StatusFileSize
new4.99 KB

Hi @vinmassaro!

Could you please what was the source code of your breadcrumb before you enabled Path Breadcrumbs?
Please check real source code, not the code from inspector.

Best,
Kate