fixed odd runtime type error, which appears to have escaped the scala-2.8.0.final compiler;
authorwenzelm
Sun, 08 Aug 2010 14:22:54 +0200
changeset 38235 25d6f789618b
parent 38234 4b610fbb2d83
child 38236 d8c7be27e01d
fixed odd runtime type error, which appears to have escaped the scala-2.8.0.final compiler;
src/Tools/jEdit/src/jedit/html_panel.scala
--- a/src/Tools/jEdit/src/jedit/html_panel.scala	Sun Aug 08 14:00:59 2010 +0200
+++ b/src/Tools/jEdit/src/jedit/html_panel.scala	Sun Aug 08 14:22:54 2010 +0200
@@ -158,7 +158,8 @@
       val html_body =
         current_body.flatMap(div =>
           Pretty.formatted(List(div), current_margin, Pretty.font_metric(current_font_metrics))
-            .map(t => XML.Elem(HTML.PRE, List((Markup.CLASS, Markup.MESSAGE)), HTML.spans(t))))
+            .map(t =>
+              XML.Elem(Markup(HTML.PRE, List((Markup.CLASS, Markup.MESSAGE))), HTML.spans(t))))
       val doc =
         builder.parse(
           new InputSourceImpl(