sanitizer.json 978 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "title": "HTML Sanitizer",
  3. "description": "HTML Sanitizer settings.",
  4. "jupyter.lab.setting-icon": "ui-components:html5",
  5. "additionalProperties": false,
  6. "properties": {
  7. "allowedSchemes": {
  8. "title": "Allowed URL Scheme",
  9. "description": "Scheme allowed by the HTML sanitizer.",
  10. "type": "array",
  11. "uniqueItems": true,
  12. "items": {
  13. "type": "string"
  14. },
  15. "default": ["http", "https", "ftp", "mailto", "tel"]
  16. },
  17. "autolink": {
  18. "type": "boolean",
  19. "title": "Autolink URL replacement",
  20. "description": "Whether to replace URLs with links or not.",
  21. "default": true
  22. },
  23. "allowNamedProperties": {
  24. "type": "boolean",
  25. "title": "Allow named properties",
  26. "description": "Whether to allow untrusted elements to include `name` and `id` attributes. These attributes are stripped by default to prevent DOM clobbering attacks.",
  27. "default": false
  28. }
  29. },
  30. "type": "object"
  31. }