Permalink
Browse files

Update jscripts/tiny_mce/classes/html/Node.js

  • Loading branch information...
1 parent ac62f7e commit dd896bd41876af51f8399790c140bf8bad017b5a @BobDankert committed Feb 3, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 jscripts/tiny_mce/classes/html/Node.js
@@ -424,6 +424,10 @@
}
}
+ // Keep comments
+ if (node.type === 8)
+ return false;
+
// Keep non whitespace text nodes
if ((node.type === 3 && !whiteSpaceRegExp.test(node.value)))
return false;

0 comments on commit dd896bd

Please sign in to comment.