Sha256: 94af4050cfc1141488eabfec65de94d0d2001c6f1590ce21394f1d422211083d

Contents?: true

Size: 715 Bytes

Versions: 47

Compression:

Stored size: 715 Bytes

Contents

{
  "name": "Unescaped chars in script",
  "options": {},
  "html": "<head><script language=\"Javascript\">var foo = \"<bar>\"; alert(2 > foo); var baz = 10 << 2; var zip = 10 >> 1; var yap = \"<<>>>><<\";</script></head>",
  "expected": [
    {
      "type": "tag",
      "name": "head",
      "attribs": {},
      "children": [
        {
          "type": "script",
          "name": "script",
          "attribs": {
            "language": "Javascript"
          },
          "children": [
            {
              "data": "var foo = \"<bar>\"; alert(2 > foo); var baz = 10 << 2; var zip = 10 >> 1; var yap = \"<<>>>><<\";",
              "type": "text"
            }
          ]
        }
      ]
    }
  ]
}

Version data entries

47 entries across 43 versions & 6 rubygems

Version Path
trusty-cms-6.3.1 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.7 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.6 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.5 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.4 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.3 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.2 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.1 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.3.5 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-5.0.0 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.3.4 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.3.3 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.3.2 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.3.1 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.3 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.2.3 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.2.2 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.2.1 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.2 node_modules/domhandler/test/cases/04-unescaped_in_script.json
trusty-cms-4.1.9 node_modules/domhandler/test/cases/04-unescaped_in_script.json