User:Proteins/unindent.js: Difference between revisions

Content deleted Content added
Proteins (talk | contribs)
internal DL tags aren't being detected?
Proteins (talk | contribs)
use correct filtered string
Line 64:
// untagged_text = untagged_text.replace(/(<([^>]+)>)/ig,""); // remove other HTML tags
 
byte_count = unspaced_textuntagged_text.length; // removecount whitespacescharacters
if (byte_count < 1) { continue; }
 
Line 101:
indent_level_string = "(Indent level " + indent_level + " " + num_sub_DL_elements + ") ";
if (num_sub_DL_elements > 0) {
indent_level_string += "[ " + num_sub_DL_elements + " " + byte_count + " " + unspaced_textuntagged_text + " ]";
}
child_node = temp_DD_element.firstChild;