Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(772)

Issue 154106: Fix for <script type="os/data"> elements in <head> ending up blank. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by johnfargo
Modified:
15 years, 9 months ago
Reviewers:
Paul Lindner, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/
Visibility:
Public.

Description

The Neko parser disallows children of <head> elements from having children of their own. Thus OSData elements must appear in <body> to avoid their children from being pulled outside the <script> element itself. Thanks to Paul Lindner for distilling this to a unit test (included). Hopefully this doesn't break any other OSData requirements..

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/parse/nekohtml/NekoSimplifiedHtmlParser.java View 1 chunk +3 lines, -3 lines 0 comments Download
java/gadgets/src/test/resources/org/apache/shindig/gadgets/parse/nekohtml/test-socialmarkup.html View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 2
johnfargo
15 years, 10 months ago (2009-11-13 05:03:16 UTC) #1
Paul Lindner
15 years, 10 months ago (2009-11-13 10:28:01 UTC) #2
Looks good.  Tested on a number of specs.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b