diff options
author | Paul Phillips <paulp@improving.org> | 2009-04-30 16:40:21 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-04-30 16:40:21 +0000 |
commit | 9f907e58135915166fb4fca94ca4d5197f9142dd (patch) | |
tree | 6cb0378a54ae866e2d8a8f2f7f4ec2f78237ef42 /src/library | |
parent | 4d3c8ef4be9990124a02082789b809d8814b09ab (diff) | |
download | scala-9f907e58135915166fb4fca94ca4d5197f9142dd.tar.gz scala-9f907e58135915166fb4fca94ca4d5197f9142dd.tar.bz2 scala-9f907e58135915166fb4fca94ca4d5197f9142dd.zip |
fix for #1712
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/xml/parsing/FactoryAdapter.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/library/scala/xml/parsing/FactoryAdapter.scala b/src/library/scala/xml/parsing/FactoryAdapter.scala index 67e6fc8ad9..d063b74983 100644 --- a/src/library/scala/xml/parsing/FactoryAdapter.scala +++ b/src/library/scala/xml/parsing/FactoryAdapter.scala @@ -165,9 +165,8 @@ abstract class FactoryAdapter extends DefaultHandler() { def captureText(): Unit = { if (capture) { val text = buffer.toString() - if (text.length() > 0 && !text.equals(" ")) { + if (text.length() > 0) hStack.push(createText(text)) - } } buffer.setLength(0) } |