From baf9808eae3441de70a00cd043e10e0ebf06b7c0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 7 Jul 2016 20:44:20 +0100 Subject: Add HTML path for ignoring elements --- lib/html-paths.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/html-paths.js') diff --git a/lib/html-paths.js b/lib/html-paths.js index 4021887..5a00cd8 100644 --- a/lib/html-paths.js +++ b/lib/html-paths.js @@ -67,3 +67,8 @@ Element.prototype.wrapNodes = function wrapNodes(nodes) { }; exports.empty = elements([]); +exports.ignore = { + wrap: function() { + return []; + } +}; -- cgit v1.2.3