pict-docuserve 0.0.25 → 0.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/pict-docuserve.js
CHANGED
|
@@ -6665,9 +6665,9 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
6665
6665
|
// Set the page title from cover.md or _topbar.md
|
|
6666
6666
|
let tmpDocuserve = this.pict.AppData.Docuserve;
|
|
6667
6667
|
if (tmpDocuserve.CoverLoaded && tmpDocuserve.Cover && tmpDocuserve.Cover.Title) {
|
|
6668
|
-
document.title = tmpDocuserve.Cover.Title;
|
|
6668
|
+
document.title = tmpDocuserve.Cover.Title.replace(/<[^>]*>/g, '');
|
|
6669
6669
|
} else if (tmpDocuserve.TopBarLoaded && tmpDocuserve.TopBar && tmpDocuserve.TopBar.Brand) {
|
|
6670
|
-
document.title = tmpDocuserve.TopBar.Brand;
|
|
6670
|
+
document.title = tmpDocuserve.TopBar.Brand.replace(/<[^>]*>/g, '');
|
|
6671
6671
|
}
|
|
6672
6672
|
|
|
6673
6673
|
// Render the layout shell, which triggers child view rendering
|