Commit 812510cb authored by Romain Courteaud's avatar Romain Courteaud

Drop useless spaces.

parent 91266b6c
...@@ -100,7 +100,7 @@ ...@@ -100,7 +100,7 @@
// "<body>" + // "<body>" +
// "<title>Great title</title>" + // "<title>Great title</title>" +
// "</body></html>"; // "</body></html>";
// //
// settings = parseGadgetHTML(html); // settings = parseGadgetHTML(html);
// equal(settings.title, '', 'Title not found'); // equal(settings.title, '', 'Title not found');
// }); // });
...@@ -113,11 +113,11 @@ ...@@ -113,11 +113,11 @@
// "<body>" + // "<body>" +
// "<p>Foo</p>" + // "<p>Foo</p>" +
// "</body></html>"; // "</body></html>";
// //
// settings = renderJS.parseGadgetHTML(html); // settings = renderJS.parseGadgetHTML(html);
// equal(settings.html, "<p>Foo</p>", "HTML extracted"); // equal(settings.html, "<p>Foo</p>", "HTML extracted");
// }); // });
// //
// test('Extract all body', function () { // test('Extract all body', function () {
// // Check that parseGadgetHTML correctly extracts all bodies // // Check that parseGadgetHTML correctly extracts all bodies
// var settings, // var settings,
...@@ -127,18 +127,18 @@ ...@@ -127,18 +127,18 @@
// "</body><body>" + // "</body><body>" +
// "<p>Bar</p>" + // "<p>Bar</p>" +
// "</body></html>"; // "</body></html>";
// //
// settings = renderJS.parseGadgetHTML(html); // settings = renderJS.parseGadgetHTML(html);
// equal(settings.html, '<p>Foo</p><p>Bar</p>', 'All bodies extracted'); // equal(settings.html, '<p>Foo</p><p>Bar</p>', 'All bodies extracted');
// }); // });
// //
// test('Extract body only from html', function () { // test('Extract body only from html', function () {
// // Check that parseGadgetHTML also extract body from head // // Check that parseGadgetHTML also extract body from head
// var settings, // var settings,
// html = "<html>" + // html = "<html>" +
// "<head><body><p>Bar</p></body></head>" + // "<head><body><p>Bar</p></body></head>" +
// "</html>"; // "</html>";
// //
// settings = renderJS.parseGadgetHTML(html); // settings = renderJS.parseGadgetHTML(html);
// equal(settings.html, "<p>Bar</p>", "Body not found"); // equal(settings.html, "<p>Bar</p>", "Body not found");
// }); // });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment