We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa022ab commit d5a6d8dCopy full SHA for d5a6d8d
string-plugin/src/main/java/com/github/underscore/string/$.java
@@ -2005,7 +2005,7 @@ private static Map<String, Object> createMap(final org.w3c.dom.Node node) {
2005
} else {
2006
value = currentNode.getTextContent();
2007
}
2008
- if ("#text".equals(name) && value.toString().startsWith("\n")) {
+ if ("#text".equals(name) && value.toString().trim().isEmpty()) {
2009
continue;
2010
2011
if (map.containsKey(name)) {
0 commit comments