09-unquoted_attrib.json 324 B

1234567891011121314151617181920
  1. {
  2. "name": "Unquoted attributes",
  3. "options": {},
  4. "html": "<font size= 14>the text</font>",
  5. "expected": [
  6. {
  7. "type": "tag",
  8. "name": "font",
  9. "attribs": {
  10. "size": "14"
  11. },
  12. "children": [
  13. {
  14. "data": "the text",
  15. "type": "text"
  16. }
  17. ]
  18. }
  19. ]
  20. }