summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2005-11-29 21:53:22 +0000
committerBurak Emir <emir@epfl.ch>2005-11-29 21:53:22 +0000
commit06f66337c3d745164c845dfabbf17e7ec388d93d (patch)
tree2bd54b375bc68921000be44ab90bda494a8ae237 /sources
parent0b6923d694a67e35e10adfe9366b55e3fdbe2135 (diff)
downloadscala-06f66337c3d745164c845dfabbf17e7ec388d93d.tar.gz
scala-06f66337c3d745164c845dfabbf17e7ec388d93d.tar.bz2
scala-06f66337c3d745164c845dfabbf17e7ec388d93d.zip
fixed bug in text
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/xml/Elem.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scala/xml/Elem.scala b/sources/scala/xml/Elem.scala
index 2511ab3fac..334344e8f6 100644
--- a/sources/scala/xml/Elem.scala
+++ b/sources/scala/xml/Elem.scala
@@ -63,7 +63,7 @@ case class Elem(override val prefix: String,
val sb = new StringBuffer();
val it = child.elements;
while(it.hasNext) {
- sb.append(it.next);
+ sb.append(it.next.text);
}
sb.toString()
}