07-unescaped_in_style.json 407 B

1234567891011121314151617181920
  1. {
  2. "name": "Unescaped chars in style",
  3. "options": {},
  4. "html": "<style type=\"text/css\">\n body > p\n\t{ font-weight: bold; }</style>",
  5. "expected": [
  6. {
  7. "type": "style",
  8. "name": "style",
  9. "attribs": {
  10. "type": "text/css"
  11. },
  12. "children": [
  13. {
  14. "data": "\n body > p\n\t{ font-weight: bold; }",
  15. "type": "text"
  16. }
  17. ]
  18. }
  19. ]
  20. }