Content deleted Content added
code for skipping blank lines |
m proper conditional |
||
Line 49:
// Skip empty DD elements
num_child_nodes = temp_DD_element.childNodes.length;
if (!num_child_nodes
byte_count = temp_DD_element.replace(/(<([^>]+)>)/ig,"").replace(/\s/ig, "").length; // remove HTML tags
if (byte_count < 1) { continue; }
|