minimize
Version:
Minimize HTML
136 lines (135 loc) • 8.41 kB
JSON
{
"content": "<div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n <p>\n We are Node.js experts and the first hosting platform to build\n our full stack in node. We understand your node application\n better than anyone.\n </p>\n </div>\n\n ",
"comment": "<!-- some HTML comment --><!--#include virtual=\"/header.html\" -->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n <p>\n We are Node.js experts and the first hosting platform to build\n our full stack in node. We understand your node application\n better than anyone.\n </p>\n </div>\n\n ",
"ssi": "<!--#include virtual=\"/header.html\" -->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n <p>\n We are Node.js experts and the first hosting platform to build\n our full stack in node. We understand your node application\n better than anyone.\n </p>\n </div>\n\n ",
"ssimulti": "<!--#include virtual=\"/head.html\" --><!--#include virtual=\"/header.html\" -->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n <p>\n We are Node.js experts and the first hosting platform to build\n our full stack in node. We understand your node application\n better than anyone.\n </p>\n </div>\n\n ",
"ssicommands": "<!--#echo var=\"name\" default=\"no\" -->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n <p>\n We are Node.js experts and the first hosting platform to build\n our full stack in node. We understand your node application\n better than anyone.\n </p>\n </div>\n\n ",
"ie": "<!--[if IE 6]>Special instructions for IE 6 here<![endif]-->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n </div>",
"iemulti": "<!--[if IE 10]>Special instructions for IE 10 here<![endif]--><!--[if IE 6]>Special instructions for IE 6 here<![endif]-->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n </div>",
"iemultiline": "<!--[if IE 10]>\n\nSpecial instructions for IE 10 here\n<![endif]-->\n <div class=\"slide nodejs\">\n <h3>100% Node.js</h3>\n </div>",
"interpunction": "<h3>Become a partner</h3>\n <p>\n Interested in being part of the solution?\n <a href=\"/company/contact\">Contact Nodejitsu to discuss</a>.\n </p>",
"code": "<code class=\"copy\">\n<span>var http = require('http');\nhttp.createServer(function (req, res) {\n res.writeHead(200, {'Content-Type': 'text/plain'});\n res.end('hello, i know nodejitsu');\n})listen(8080);</span><a href=\"#\"><s class=\"ss-layers\" role=\"presentation\"></s> copy</a></code>",
"newlines": "<li>We're <a href=\"http://nodejitsu.com\">Nodejitsu</a>, and we can give you scalable,\nfault-tolerant cloud hosting for your Node.js apps - and we're the best you'll\nfind.</li>",
"spacing": "<strong>npm</strong>. You don't have to worry\n about installing npm since it comes bundled with Node.js.\n\n <pre class=\"copy\">$ <span>npm install jitsu -g</span><a href=\"#\"><s class=\"ss-layers\" role=\"presentation\"></s> copy</a></pre>\n",
"full": "<!doctype html>\n<html class=\"no-js\">\n<head>\n</head>\n<body class=\"container\">\n<section class=\"navigation\" id=\"navigation\">\n <nav class=\"row\">\n <h1>\n <a href=\"/\" class=\"logo\" title=\"Back to the homepage\">Nodejitsu</a>\n </h1>\n <a href=\"#navigation\" class=\"mobile btn ss-rows\"></a>\n\n\n\n <a href=\"/paas\" >\n Cloud\n </a>\n\n <a href=\"/enterprise/private-cloud\" >\n Enterprise\n </a>\n </section>\n <input type=\"text\" name=\"temp\">\n</body>\n </html>",
"cdata": "<script type=\"text/javascript\">\n//<![CDATA[\n...code...\n//]]>\n</script>",
"noscript": "<script type=\"imno/script\" id=plates-forgot><h3>\n Forgot your password?\n <a href=\"#\" class=\"close ss-delete\"></a>\n </h3>\n\n <p>Tell us your username and we will reset it for you.</p>\n\n <p class=\"error alert\"></p>\n <p class=\"success alert\"></p></script>",
"empty": "<h1 class=\"slide nodejs\">a</h1><h2>b</h2><h3 id=\"lol\">c</h3><h4>d</h4><h5 hidden=\"hidden\">e</h5><h6 itemscope>f</h6>",
"scripts": "<script type=text/javascript src=//use.typekit.net/gmp8svh.js></script> <script type=text/javascript>",
"styles": "<style> .test { color: #FFF }</style><style>.test { color: black }</style>",
"br": "<p class=\"slide\">\n <span>\n <em>Does your organization have security or licensing restrictions?</em>\n </span>\n\n <br/><br/>\n <span>\n Your private npm registry makes managing them simple by giving you the power\n to work with a blacklist and a whitelist of public npm packages.\n </span>\n </p>",
"pre": "<pre><code class=\"lang-bash\">git clone https://github.com/cjdelisle/cjdns.git cjdns\n <span class=\"hljs-built_in\">cd</span> cjdns\n ./<span class=\"hljs-keyword\">do</span>\n</code></pre>",
"loose": "<h1>title</h1> <form>Some text: <input type=\"text\" name=\"test\"></form>",
"looseext": "<section><h1>title</h1> <span>small</span> <form><label>Some text:</label> <input type=text name=test> <button>Button</button></form></section> ",
"inlineelements": "<form><label>Last:</label> <input>, <label>First:</label> <input> <button>Submit</button></form>",
"multilineattribs": "<h1 class=\"\n big\n title\n\">minimize</h1>",
"complexconditional": "<head><!--[if lt IE 9]> <html class=\"no-js lt-ie9\"> <![endif]--><!--[if gt IE 8]><!--> <link rel=\"some.file.com\"> <!--<![endif]--></head>",
"conditionalcomments": "<head><!--[if IE 6]>Special instructions for IE 6 here<![endif]--></head><h1><!-- Some comments thats either removed or kept --></h1>",
"whitespace": "<input value=\" with newlines \n and whitespace\">",
"doctype": {
"data": "!doctype html",
"type": "directive",
"name": "!doctype"
},
"block": {
"type": "tag",
"name": "section",
"attribs": null,
"children": null,
"prev": null,
"next": null,
"parent": null
},
"inline": {
"type": "tag",
"name": "strong",
"children": null,
"prev": null,
"next": null,
"parent": null
},
"style": {
"type": "style",
"name": "style",
"children": [{ "data": ".test { color: white }", "type": "text"}]
},
"singular": {
"attribs": {
"type": "text",
"name": "temp"
},
"type": "tag",
"name": "input",
"children": [],
"prev": null,
"next": null,
"parent": null
},
"attribs": {
"type": "text",
"name": "temp-name",
"class": "some classes with spaces",
"href": "http://without.params.com",
"hrefparam": "http://with.params.com?test=test"
},
"bigattribs": {
"class": "some value \n\r with mutliple \n spaces and \r newlines"
},
"script": {
"type": "script",
"name": "script",
"attribs": { "type": "text/javascript" },
"children": null,
"prev": null,
"next": null,
"parent": null
},
"structure": {
"type": "tag",
"name": "textarea",
"children": null,
"prev": null,
"next": null,
"parent": null
},
"text": {
"data": "some random text",
"type": "text"
},
"multiline": {
"data": "some additional lines.\n\n some random text, and alot of spaces",
"type": "text"
},
"element": {
"type": "tag",
"name": "html",
"attribs": {
"class": "no-js"
},
"prev": null,
"next": null,
"parent": null,
"children": [
{
"type": "tag",
"name": "head",
"attribs": {},
"children": [],
"prev": null,
"next": null,
"parent": null
},
{
"type": "tag",
"name": "body",
"attribs": {
"class": "container"
},
"children": [],
"prev": null,
"next": null,
"parent": null
}
]
}
}