Closed (duplicate)
Project:
Menu Breadcrumb
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2009 at 22:28 UTC
Updated:
3 Dec 2009 at 03:05 UTC
When using "Appended page title as an URL" feature of Menu Breadcrumbs in combination with a Taxonomy View that includes terms with HTML entities such as & we ran into issues with the entities becoming doubly escaped.
Patch attached to fix issue. Now calls l() passing an option of 'html'=>TRUE
| Comment | File | Size | Author |
|---|---|---|---|
| menu-breadcrumb-append-page-title-url-double-encode.diff | 573 bytes | harking |
Comments
Comment #1
svendecabooterI'm experiencing the same issue, and applying this patch seems to fix it.
Comment #2
xurizaemonThanks for reporting this and for making the effort to submit a patch.
It's actually a duplicate of #344449: Double-escaped strings causing improper output of special characters which was fixed already (and is available currently in the 6.x-1.x-dev release).
@harking, FYI it will help module maintainers (and get your code submitted easier) if you create patches from within the module directory, as per the instructions at http://drupal.org/patch/create - that way they can be applied more easily.
Comment #3
harking commented@2: thanks for the heads up. was trying to be helpful with a patch.
Comment #4
xurizaemon@harking, much appreciated - hoping simply to help ensure your future patches can be more easily accepted by maintainers.
Usually I'm on the other side of the coin too. I've been corrected myself on submitted patch formats more than once (I often forget the -p in -up!).
Cheers