src/Tools/VSCode/src/preview.scala
changeset 66040 f826ba18fe08
parent 66000 58aa6749ff36
--- a/src/Tools/VSCode/src/preview.scala	Thu Jun 08 13:17:40 2017 +0200
+++ b/src/Tools/VSCode/src/preview.scala	Thu Jun 08 14:08:07 2017 +0200
@@ -49,7 +49,7 @@
         List(HTML.style(HTML.fonts_css()), HTML.style_file(Url.print_file(HTML.isabelle_css.file))),
         List(
           HTML.chapter("Theory " + quote(model.node_name.theory_base_name)),
-          HTML.source(Symbol.decode(snapshot.node.commands.iterator.map(_.source).mkString))),
+          HTML.source(Present.theory_document(snapshot))),
         css = "")
     (label, content)
   }