Ei kuvausta

06-comment_in_script.json 323B

123456789101112131415161718
  1. {
  2. "name": "Script source in comment",
  3. "options": {},
  4. "html": "<script><!--var foo = 1;--></script>",
  5. "expected": [
  6. {
  7. "type": "script",
  8. "name": "script",
  9. "attribs": {},
  10. "children": [
  11. {
  12. "data": "<!--var foo = 1;-->",
  13. "type": "text"
  14. }
  15. ]
  16. }
  17. ]
  18. }