Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
24 Apr 2013 at 11:32 UTC
Updated:
4 Jan 2014 at 03:28 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damienmckennaI think the problem is that there's a newline character in the og:description that's confusing the OG parser.
Comment #2
damienmckennaLets focus this issue on the line breaks and fix it for all meta tags.
Comment #3
damienmckennaPlease test this patch and let me know if it removes the line break in the og:description meta tag.
Comment #4
Marko B commentedI did apply the patch but FB debuger still output the same error.
Comment #5
Pls commentedPatch works great, thanks.
Comment #6
damienmckenna@deepM: While there may still be a problem, the line breaks are no longer causing part of the problem. I think the remaining problem boils down to the core RDF module being enabled, which is known to cause problems with validating the Open Graph meta tags.
Comment #7
damienmckennaCommitted.
Comment #8
Marko B commentedWhich part of RDF? Html tags seems fine, don't get it what is the problem for validators.
Tried w3c validation
http://validator.w3.org/check?uri=http%3A%2F%2Fturkeydental.co%2Fdental-...
there are some problems with RDF there.
How could I test this thing. I would cut off scripts, meta tags line one by one and then check it agains validator but only way I know is that I disable module one by one. I could also save a page as html and then edit lines (if page works that way), anyone knows some better way?
Comment #9
damienmckenna@deepM: Try disabling the RDF module, see if that fixes the problem, it has fixed the problem for others.
Comment #10
Marko B commentedSeems no one even checked what I posted :-) anyway it works now. What I realized that FB caches URL and data, so even If you change something to URL it uses data it first got. So probably this line break fix worked when cache expired.