Fix #5682 - fix path in title of source file
authorAlan Knowles <alan@roojs.com>
Thu, 24 Jan 2019 06:59:35 +0000 (14:59 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 24 Jan 2019 06:59:35 +0000 (14:59 +0800)
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 +