aboutsummaryrefslogtreecommitdiff
path: root/header.sh
diff options
context:
space:
mode:
Diffstat (limited to 'header.sh')
-rw-r--r--header.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/header.sh b/header.sh
index a95aa47..968ac84 100644
--- a/header.sh
+++ b/header.sh
@@ -21,18 +21,18 @@ cat <<HEADER
</style>
<script type="text/javascript">
- let mobileText = '$HEADER_TITLE_MOBILE';
- let desktopText = '$HEADER_TITLE';
+ let mobileText = '${HEADER_TITLE_MOBILE//\\/\\\\}';
+ let desktopText = '${HEADER_TITLE//\\/\\\\}';
</script>
<script type="text/javascript" src="/static/header.js"></script>
<script type="text/javascript" src="/static/navigator.js"></script>
<header id="top-header">
<h1 id="header-title" class="desktop header-title">
- $ <span class="text">${HEADER_TITLE/;/<br\/>$&ensp;}<br/></span>
+ $ <span class="text">${HEADER_TITLE//;/<br\/>$&ensp;}<br/></span>
</h1>
<h1 id="header-title-mobile" class="mobile header-title">
- $ <span class="text">${HEADER_TITLE_MOBILE/;/<br\/>$&ensp;}<br/></span>
+ $ <span class="text">${HEADER_TITLE_MOBILE//;/<br\/>$&ensp;}<br/></span>
</h1>
</header>
HEADER