[ { "input": "", "output": "\n\n" }, { "input": "\n", "output": "\n\n" }, { "input": "", "options": { "xmlSelfClosingSpace": false }, "output": "\n\n" }, { "input": "", "output": "\n\n" }, { "input": "\n", "output": "!error" }, { "input": "", "output": "\n\n" }, { "input": "", "output": "\n\n" }, { "input": "", "options": { "printWidth": 20 }, "output": "\n\n" }, { "input": "", "output": "!error" }, { "input": " ]>", "output": "!error" }, { "input": "\n", "output": "\n" }, { "input": "", "output": "\n" }, { "input": " ", "output": " \n" }, { "input": " ", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n" }, { "input": "x\ntext", "output": "!error" }, { "input": "", "output": "" }, { "input": " \n ", "output": "" }, { "input": " ", "output": "" }, { "input": "", "output": "!error" }, { "input": "", "output": "\n" }, { "input": "", "output": "\n" }, { "input": "", "output": "!error" }, { "input": "", "options": { "xmlQuoteAttributes": "single" }, "output": "\n" }, { "input": "", "options": { "xmlQuoteAttributes": "double" }, "output": "\n" }, { "input": "", "output": "\n" }, { "input": "", "options": { "xmlSortAttributesByKey": true }, "output": "\n" }, { "input": "", "output": "\n" }, { "input": "", "options": { "bracketSameLine": true }, "output": "\n" }, { "input": "", "options": { "xmlSelfClosingSpace": false }, "output": "\n" }, { "input": "", "options": { "singleAttributePerLine": true }, "output": "\n" }, { "input": "text", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "text\n" }, { "input": "", "output": "\n" }, { "input": "", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n \n \n\n" }, { "input": "xz", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "xz\n" }, { "input": " x ", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": " x \n" }, { "input": " x ", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": " x \n" }, { "input": "\n \n\n\n \n text\n\n &\n", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n \n\n \n text\n &\n\n" }, { "input": "xAyz", "output": "xAyz\n" }, { "input": "&", "output": "!error" }, { "input": "& b", "output": "!error" }, { "input": "\n \n \n \n \n", "output": "\n \n \n \n \n\n" }, { "input": "\n \n \n \n \n", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n \n \n \n \n\n" }, { "input": " two ?>", "output": "!error" }, { "input": " two ?>", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n two ?>\n\n" }, { "input": "", "output": "!error" }, { "input": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt.", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor\n incididunt.\n\n" }, { "input": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor. incididunt ut labore\n et dolore magna aliqua.", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod\n tempor. incididunt ut labore\n et dolore magna aliqua.\n\n" }, { "input": "中文中文中文 中文中文中文 中文中文中文 中文中文中文 中文中文中文 中文中文中文 x", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n 中文中文中文 中文中文中文 中文中文中文 中文中文中文 中文中文中文 中文中文中文 x\n\n" }, { "input": "\n text bold more\n \n", "options": { "xmlWhitespaceSensitivity": "preserve" }, "output": "\n text bold more\n \n\n" }, { "input": "\n \n \n", "options": { "xmlWhitespaceSensitivity": "preserve" }, "output": "\n \n \n\n" }, { "input": " xy z", "options": { "xmlWhitespaceSensitivity": "preserve" }, "output": " xy z\n" }, { "input": "\r\n x\r\n\r\n \r\r\n", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n x\n\n \n\n" }, { "input": "", "output": "\n" }, { "input": "", "output": "\n" }, { "input": "", "output": "\n" }, { "input": "", "output": ".a{fill:red}\n" }, { "input": "", "options": { "bracketSameLine": true }, "output": "\n.a {\n fill: red;\n}\n \n" }, { "input": "", "options": { "embeddedLanguageFormatting": "off" }, "output": "\n" }, { "input": "x", "options": { "xmlWhitespaceSensitivity": "ignore", "printWidth": 10 }, "output": "\n \n \n \n \n x\n \n \n \n \n\n" }, { "input": "\n \n", "options": { "useTabs": true, "xmlWhitespaceSensitivity": "ignore" }, "output": "\n\t\n\n" }, { "input": "x y", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n x\n y\n\n" }, { "input": "x", "options": { "xmlWhitespaceSensitivity": "ignore" }, "output": "\n x\n \n\n" }, { "input": "  ", "options": { "xmlWhitespaceSensitivity": "preserve" }, "output": "  \n" } ]