Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 10227005: Collect <meta> tags at top of <head> to fix issue with Facebook's Open Graph parsing (Closed)

Created:
April 10, 2013, 10:52 a.m. by Thomas Greiner
Modified:
April 11, 2013, 8:20 a.m.
Reviewers:
Felix Dahlke
Visibility:
Public.

Description

Facebook's parser ignores <meta> tags in <head> if it previously encountered a <noscript> tag which makes it treat those tags as part of <body>. This change moves all <meta> tags (independent of their position on the page) to the top of <head> to prevent <noscript> tags from being on top of a <meta> tag. Previously only those in <body> were moved to the bottom of <head>.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M anwiki/_override/global/global/global.tpl.php View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 1
Felix Dahlke
April 10, 2013, 3:43 p.m. (2013-04-10 15:43:11 UTC) #1
LGTM, but that's one mean regex right there :D

Powered by Google App Engine
This is Rietveld