Fix #5682 - fix path in title of source file
[roojspacker] / src / jsdoc / DocBuilder.vala
index 3afceb0..bc281c5 100644 (file)
@@ -762,7 +762,7 @@ namespace JSDOC
                    FileUtils.set_contents(
                        tmp, 
                        "<html><head>" +
-                       "<title>" + sourceFile + "</title>" +
+                       "<title>" + this.srcFileRelName(sourceFile) + "</title>" +
                        "<link rel=\"stylesheet\" type=\"text/css\" href=\"../../css/highlight-js.css\"/>" + 
                        "</head><body class=\"highlightpage\">" +
                        pretty +