Sha256: 24386ef9dca3728b72ba21fb6913ab40783bdb0103fad9fbf1c86e1682f17d89

Contents?: true

Size: 774 Bytes

Versions: 47

Compression:

Stored size: 774 Bytes

Contents

{
  "name": "Normalize whitespace",
  "options": {
    "normalizeWhitespace": true
  },
  "html": "Line one\n<br>\t  \r\n\f  <br>\nline two<font><br> x </font>",
  "expected": [
    {
      "data": "Line one ",
      "type": "text"
    },
    {
      "type": "tag",
      "name": "br",
      "attribs": {}
    },
    {
      "data": " ",
      "type": "text"
    },
    {
      "type": "tag",
      "name": "br",
      "attribs": {}
    },
    {
      "data": " line two",
      "type": "text"
    },
    {
      "type": "tag",
      "name": "font",
      "attribs": {},
      "children": [
        {
          "type": "tag",
          "name": "br",
          "attribs": {}
        },
        {
          "data": " x ",
          "type": "text"
        }
      ]
    }
  ]
}

Version data entries

47 entries across 43 versions & 6 rubygems

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