src/Pure/Thy/browser_info.scala
changeset 75977 59aa034220bf
parent 75971 cec22f403c25
child 75979 29d813c431bb
--- a/src/Pure/Thy/browser_info.scala	Thu Aug 25 23:09:00 2022 +0200
+++ b/src/Pure/Thy/browser_info.scala	Fri Aug 26 11:41:59 2022 +0200
@@ -183,7 +183,7 @@
       document_info.theory_by_file(session, file)
 
     def session_dir(session: String): Path =
-      root_dir + Path.explode(sessions_structure(session).chapter_session)
+      root_dir + Path.basic(sessions_structure(session).chapter) + Path.basic(session)
 
     def chapter_dir(chapter: String): Path =
       root_dir + Path.basic(chapter)
@@ -194,7 +194,7 @@
     def theory_html(theory: Document_Info.Theory): Path =
     {
       def check(name: String): Option[Path] = {
-        val path = Path.explode(name).html
+        val path = Path.basic(name).html
         if (Path.eq_case_insensitive(path, Path.index_html)) None
         else Some(path)
       }