Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow embedding of JSON-LD #250

Closed
alexmilowski opened this issue Apr 13, 2016 · 2 comments
Closed

Allow embedding of JSON-LD #250

alexmilowski opened this issue Apr 13, 2016 · 2 comments

Comments

@alexmilowski
Copy link

This may be a completely non-starter but the current techniques for embedding JSON-LD into HTML is via the script element ([1],[2]) with a type of "application/ld+json". One option would be to only allow a script tag through that has this particular media type value in the "type" attribute.

Another would be to get the JSON-LD folks to use a less dangerous element! :)

[1] http://www.w3.org/TR/json-ld/#embedding-json-ld-in-html-documents
[2] https://developers.google.com/schemas/formats/json-ld

@vallieres
Copy link

I do have the same problem with jekyll-mentions, that is now using html-pipeline, my json-ld gets replaced improperly. Refer to jekyll/jekyll-mentions#30 for details (or I can open another ticket if you prefer, let me know).

@mbirth
Copy link

mbirth commented Apr 19, 2017

Same here. See gettalong/kramdown#426 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants