diff options
author | michelou <michelou@epfl.ch> | 2006-12-03 10:16:52 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2006-12-03 10:16:52 +0000 |
commit | f1f6f2b233ccc1123979c69823affb0a285bb4ad (patch) | |
tree | ab6860704c2ae2c53dea540890bdaf5a09c7f62e /src/compiler | |
parent | 40a4987f45462fa81c10a52e24621fd7b71aadfa (diff) | |
download | scala-f1f6f2b233ccc1123979c69823affb0a285bb4ad.tar.gz scala-f1f6f2b233ccc1123979c69823affb0a285bb4ad.tar.bz2 scala-f1f6f2b233ccc1123979c69823affb0a285bb4ad.zip |
reverted testing change in DocUtil.scala
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/DocUtil.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/DocUtil.scala b/src/compiler/scala/tools/nsc/doc/DocUtil.scala index 745661ffc7..cc304f5a36 100644 --- a/src/compiler/scala/tools/nsc/doc/DocUtil.scala +++ b/src/compiler/scala/tools/nsc/doc/DocUtil.scala @@ -7,7 +7,6 @@ package scala.tools.nsc.doc import java.io.StringReader -import java.net.URLEncoder import org.xml.sax.InputSource import scala.collection.immutable._ @@ -39,8 +38,7 @@ object DocUtil { def relative: String def aref(href0: String, target: String, text: String): NodeSeq = { - //val href = Utility.escape(href0) - val href = relative + URLEncoder.encode(href0, encoding) + val href = relative + Utility.escape(href0) if ((target ne null) && target.indexOf('<') != -1) throw new Error(target) val t0 = Text(text) |