1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-08-01 18:18:31 +00:00

Escape template variables

This commit is contained in:
Unrud 2021-12-05 02:59:43 +01:00
parent 8ff15acd42
commit 43dc53d794
3 changed files with 30 additions and 19 deletions

View file

@ -15,15 +15,15 @@ $endif$
<noscript><link href="assets/screen-noscript.css" media="screen" rel="stylesheet"></noscript>
<link href="https://github.com/Kozea/Radicale/releases.atom" type="application/atom+xml" rel="alternate" title="Radicale Releases">
<link href="assets/icon.png" type="image/png" rel="icon">
<title>Radicale "$branch$" Documentation</title>
<title>Radicale "$branch_html$" Documentation</title>
<meta name="description" content="Free and Open-Source CalDAV and CardDAV Server">
<script src="assets/navigation.js"></script>
<script src="assets/document-branches.js"></script>
<script src="assets/narrow-menu.js"></script>
<script src="assets/navigation-scroll-fix.js"></script>
<script>
const documentBranch = "$branch$";
const documentBranches = ["$for(branches)$$branches$$sep$", "$endfor$"];
const documentBranch = "$branch_js$";
const documentBranches = ["$branches_js[", "]$"];
</script>
<header>
@ -31,7 +31,7 @@ $endif$
<h1>
Radicale
<span class="documentBranch">
<span>$branch$</span>
<span>$branch_html$</span>
<select></select>
</span>
</h1>
@ -59,6 +59,6 @@ $endif$
</div>
</nav>
<div class="documentContainer">
$body$
$body$
</div>
</main>