diff options
author | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-06-16 20:14:48 +0000 |
---|---|---|
committer | Antonio Cunei <antonio.cunei@epfl.ch> | 2010-06-16 20:14:48 +0000 |
commit | df56d4fbe2b71bd768f57c4c808ad4d22f4cafa4 (patch) | |
tree | 2db3fa6ded416e1db5b40b6b43a24c073efd5e41 /src/library | |
parent | f553dd89103385913dc2668ccdd1c013ca3c299f (diff) | |
download | scala-df56d4fbe2b71bd768f57c4c808ad4d22f4cafa4.tar.gz scala-df56d4fbe2b71bd768f57c4c808ad4d22f4cafa4.tar.bz2 scala-df56d4fbe2b71bd768f57c4c808ad4d22f4cafa4.zip |
Merged revisions 22331 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk
........
r22331 | rytz | 2010-06-16 21:59:49 +0200 (Wed, 16 Jun 2010) | 1 line
fixed anonymous function in xhtml. no review.
........
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/xml/Xhtml.scala | 4 |
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 |