diff --git a/web/src/App.js b/web/src/App.js index 4578948..3ccf235 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -563,6 +563,10 @@ export class App extends React.Component this.setWindowTitle( null ) ; } setWindowTitle( caption ) { + if ( caption ) { + let doc = new DOMParser().parseFromString( caption, "text/html" ) ; + caption = doc.body.textContent ; + } document.title = caption ? APP_NAME + " - " + caption : APP_NAME ; }