We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4c0969 commit dfb44e1Copy full SHA for dfb44e1
1 file changed
src/com/maxprograms/xml/Indenter.java
@@ -88,7 +88,7 @@ private static boolean hasText(Element e) {
88
if (text != null) {
89
for (int i = 0; i < text.length(); i++) {
90
char c = text.charAt(i);
91
- if (!(Character.isSpaceChar(c) || c == '\n')) {
+ if (!(Character.isSpaceChar(c) || c == '\n' || c =='\r' || c == '\t')) {
92
return true;
93
}
94
0 commit comments