equal
deleted
inserted
replaced
49 new Browser_Info.Node_Context { |
49 new Browser_Info.Node_Context { |
50 override def make_ref(props: Properties.T, body: XML.Body): Option[XML.Elem] = |
50 override def make_ref(props: Properties.T, body: XML.Body): Option[XML.Elem] = |
51 for { |
51 for { |
52 thy_file <- Position.Def_File.unapply(props) |
52 thy_file <- Position.Def_File.unapply(props) |
53 def_line <- Position.Def_Line.unapply(props) |
53 def_line <- Position.Def_Line.unapply(props) |
54 source <- resources.source_file(thy_file) |
54 platform_path <- resources.source_file(thy_file) |
55 uri = File.uri(Path.explode(source).absolute_file) |
55 uri = File.uri(Path.explode(File.standard_path(platform_path)).absolute_file) |
56 } yield HTML.link(uri.toString + "#" + def_line, body) |
56 } yield HTML.link(uri.toString + "#" + def_line, body) |
57 } |
57 } |
58 val elements = Browser_Info.extra_elements.copy(entity = Markup.Elements.full) |
58 val elements = Browser_Info.extra_elements.copy(entity = Markup.Elements.full) |
59 val html = node_context.make_html(elements, formatted) |
59 val html = node_context.make_html(elements, formatted) |
60 val message = output_json(HTML.source(html).toString, None) |
60 val message = output_json(HTML.source(html).toString, None) |