User:Proteins/unindent.js: Difference between revisions

Content deleted Content added
Proteins (talk | contribs)
use correct filtered string
Proteins (talk | contribs)
backup stripping of HTML tags for unusual cases
Line 62:
unspaced_text = temp_DD_text.replace(/\s/ig, ""); // remove whitespaces
untagged_text = unspaced_text.replace(/<dl>.*<\/dl>/ig, ""); // remove inner DL's
// untagged_text = untagged_text.replace(/(<([^>]+)>)/ig,""); // remove other HTML tags
 
byte_count = untagged_text.length; // count characters