summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2010-06-16 19:59:49 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2010-06-16 19:59:49 +0000
commit9e0618ba29426ea5cb12caf881ce892a1d2365b9 (patch)
treec947b4c523499ef3ecbb4b55e1391295e03bbffc /src/library
parent5f25a7cf9a0c46e46577b7d42e92c20b210b220c (diff)
downloadscala-9e0618ba29426ea5cb12caf881ce892a1d2365b9.tar.gz
scala-9e0618ba29426ea5cb12caf881ce892a1d2365b9.tar.bz2
scala-9e0618ba29426ea5cb12caf881ce892a1d2365b9.zip
fixed anonymous function in xhtml. no review.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/xml/Xhtml.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/xml/Xhtml.scala b/src/library/scala/xml/Xhtml.scala
index 4dc01a5b45..6730548b73 100644
--- a/src/library/scala/xml/Xhtml.scala
+++ b/src/library/scala/xml/Xhtml.scala
@@ -13,7 +13,7 @@ object Xhtml
*
* @param node the node
*/
- def toXhtml(node: Node): String = sbToString(toXhtml(x = node, sb = _))
+ def toXhtml(node: Node): String = sbToString(sb => toXhtml(x = node, sb = sb))
/**
* Convenience function: amounts to calling toXhtml(node) on each
@@ -21,7 +21,7 @@ object Xhtml
*
* @param nodeSeq the node sequence
*/
- def toXhtml(nodeSeq: NodeSeq): String = sbToString(sequenceToXML(nodeSeq: Seq[Node], sb = _))
+ def toXhtml(nodeSeq: NodeSeq): String = sbToString(sb => sequenceToXML(nodeSeq: Seq[Node], sb = sb))
/** Elements which we believe are safe to minimize if minimizeTags is true.
* See http://www.w3.org/TR/xhtml1/guidelines.html#C_3