Encode Page Title

This commit is contained in:
johnnyq 2025-06-06 21:48:24 -04:00
parent 84e8a459c8
commit 08e467baa9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ if (str_contains(basename($_SERVER["PHP_SELF"]), "admin_")) { ?>
</div> <!-- ./wrapper -->
<!-- Set the browser window title to the clients name -->
<script>document.title = "<?php echo "$tab_title - $page_title"; ?>"</script>
<script>document.title = <?php echo json_encode("$tab_title - $page_title"); ?>;</script>
<!-- REQUIRED SCRIPTS -->