Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-3.x-dev
Component:
Module Support
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2013 at 23:58 UTC
Updated:
9 Mar 2013 at 15:30 UTC
Jump to comment: Most recent file

Comments
Comment #1
Jeff Burnz commentedRight, this whole idea of inserting rich snippets using string manipulation is a problem, I think we either remove it or find a better way, if possible.
Comment #2
jpontani commentedSo I messed around with a potential fix. I attached it as a patch. It runs a regex on the breadcrumb for any HTML, and takes the outermost HTML element and adds the RDF property to it, and if it's a link element, it adds the rel='v:url' property to it as well.
This is what I get as a result of the patch:

Comment #3
jpontani commentedActually this is the right patch, the first didn't accomodate tags that didn't have a space in them (no attributes on the tag).
Comment #4
ezra-g commentedComment #5
Jeff Burnz commentedPatch looks good from here, the acid test will be running with other breadcrumb modifying modules, there is one bug report here : #1910758: Breadcrumbs displaying attributes of the link in the middle of the trail: bug or configuration?
I installed Crumbs and ran it, seems to not be affected like the bug report (after applying this patch), however I am the first one to admit I have no idea what this module is supposed to be doing, the config seems about as intuitive as Windows 8 :/
Comment #6
astutonetThe issue #1910758: Breadcrumbs displaying attributes of the link in the middle of the trail: bug or configuration? was opened for me.
The patch in #3 solves the issue.
Tks.
Comment #7
Jeff Burnz commentedLooks like I commited this along with updates for the menu toggle (total rewrite), so will call this fixed for now :)