summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/components/logo/logo.html
diff options
context:
space:
mode:
authorTakuma Ishikawa <nekketsuuu@users.noreply.github.com>2020-01-06 17:39:55 +0900
committerYehonal <yehonal.azeroth@gmail.com>2020-01-06 09:39:55 +0100
commitf98b158f36f7b6323bca657d539ed60cfd723a8d (patch)
tree4bf1048148a20be8703ac91d69e9f7874708edd2 /_includes/git-wiki/components/logo/logo.html
parent7b1cdbe4b08c1621364805d26b26194f3a1d3c92 (diff)
downloadwiki-f98b158f36f7b6323bca657d539ed60cfd723a8d.tar.gz
wiki-f98b158f36f7b6323bca657d539ed60cfd723a8d.tar.bz2
wiki-f98b158f36f7b6323bca657d539ed60cfd723a8d.zip
Escape several strings, especially title (#71)
Co-authored-by: Yehonal <yehonal.azeroth@gmail.com>
Diffstat (limited to '_includes/git-wiki/components/logo/logo.html')
-rw-r--r--_includes/git-wiki/components/logo/logo.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/_includes/git-wiki/components/logo/logo.html b/_includes/git-wiki/components/logo/logo.html
index d33305e..375b06b 100644
--- a/_includes/git-wiki/components/logo/logo.html
+++ b/_includes/git-wiki/components/logo/logo.html
@@ -1,6 +1,6 @@
<div class="git-wiki-main-logo">
<a href="{{ '/' | relative_url }}"><img src="{{ site.logo_url }}">
- <h1>{{ site.title | default: site.github.repository_name }}</h1>
+ <h1>{{ site.title | default: site.github.repository_name | escape }}</h1>
</a>
<p>{{ site.description | default: site.github.project_tagline }}</p>
</div> \ No newline at end of file