Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- label=$("<object style='height:10px; width:10px;' type='image/svg+xml' data='data:image/svg+xml;charset=UTF-8," +
- "<svg xmlns="http://www.w3.org/2000/svg">" +
- "<rect x="0" y="0" some parameters/>"+
- "<text>SomeText</text></svg>'></object>");
- el.html(label)
- Refused to load plugin data from 'data:image/svg+xml;charset=UTF-8, my svg here' because it violates the following Content Security Policy directive: "object-src 'unsafe-eval'".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement