You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
BigBlueHat
changed the title
HTML Markup stripped from RDFa using datatype="HTML"
HTML Markup stripped from RDFa using datatype="HTML" on http://easyrdf.org/converter
Sep 21, 2018
That said, having the stripTags() feature seems to remove the value of using rdf:HTML datatype with this parser--which may throw out the markup. If that's what the person encoding the graph into RDFa wanted, they wouldn't have used the rdf:HTML datatype.
@njh can you point me at what things still need doing for this?
There's renewing interest in RDFa (see also https://github.com/awwright/node-rdfa/), and I'd love to help get this (and other) tools closer to RDFa 1.1 Core compatibility.
For example:
results in:
However, if the
datatype
is changed tordf:XMLLiteral
the markup is kept:Not sure if this is a bug or a missing feature, but it would be super great to have it working. 😄
You can test the same RDFa markup in the Ruby Distiller to see the correct
rdf:HTML
Turtle output:http://rdf.greggkellogg.net/distiller?command=serialize&format=rdfa&output_format=turtle
Let me know how I can help!
🎩
The text was updated successfully, but these errors were encountered: