Closed 5ervant closed 5 years ago
tagging @brenoferreira
Setting it as an inner HTML like the following will do the work:
<div
className="license"
dangerouslySetInnerHTML={{
__html: `
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">{/* CHILD ELEMENT */}</a>.
`
}}
/>
Hello, whenever I tried to embed a licence icon on my React.js application, I'm seeing this error:
I tried to replace
xmlns:dct
withxmlnsDct
and the other namespace tags with theircamelCase
forms but that just caused another problem makingxmlnsDct
and the others non-valid properties.Any solution for this?