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

datatype rdf:HTML not properly handled #13

Open
gkellogg opened this issue Jul 19, 2017 · 0 comments
Open

datatype rdf:HTML not properly handled #13

gkellogg opened this issue Jul 19, 2017 · 0 comments

Comments

@gkellogg
Copy link
Member

From @darobin on March 11, 2016 14:44

This is similar to #16. The following code actually trips over and errors in the console:

<span vocab="http://schema.org/" typeof="Document">
  <span property="dc:title" datatype="rdf:HTML">RDFa <b>1.1</b> Primer</span>
</span>

What's going on is that the value is actually a DOM node. It tries to figure out what to do with it by looking at its type; but of course the DOM node doesn't have one. So it tries to escape it as a string, which simply doesn't work.

Copied from original issue: rdfa/rdfa-website#52

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

1 participant