diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 12:35:16 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 12:35:16 +0100 |
| commit | b52d6e28f0fdb22d8e0ba2e806527612ca11927d (patch) | |
| tree | fa1fbf1b62d637d90d9941dcd0b863bd5fd5ad90 /_includes/git-wiki/components/lists | |
| parent | fe71b57bcdf51fec4fc275d968b4377ca42b8528 (diff) | |
| parent | 294bdf6c46c22e2b0ce470de8fdf41fe9bed90ea (diff) | |
| download | wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.tar.gz wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.tar.bz2 wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.zip | |
Merge branch 'master' of https://github.com/Drassil/git-wiki-theme
Diffstat (limited to '_includes/git-wiki/components/lists')
| -rw-r--r-- | _includes/git-wiki/components/lists/page-list.html | 2 | ||||
| -rw-r--r-- | _includes/git-wiki/components/lists/post-list.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/git-wiki/components/lists/page-list.html b/_includes/git-wiki/components/lists/page-list.html index dea6758..8129bf0 100644 --- a/_includes/git-wiki/components/lists/page-list.html +++ b/_includes/git-wiki/components/lists/page-list.html @@ -15,7 +15,7 @@ {% if page.is_wiki_page != false and page.sitemap != false %} <li class="page-list-item"> {% assign title = page.title | default: page.name %} - <a href="{{ page.url | relative_url }}">{{title}}</a> + <a href="{{ page.url | relative_url }}">{{title | escape}}</a> </li> {% assign numPages = numPages | plus: 1 %} {% endif %} diff --git a/_includes/git-wiki/components/lists/post-list.html b/_includes/git-wiki/components/lists/post-list.html index d6fa663..579dab5 100644 --- a/_includes/git-wiki/components/lists/post-list.html +++ b/_includes/git-wiki/components/lists/post-list.html @@ -15,7 +15,7 @@ {% if post.layout != "null" and post.sitemap != false and post.title %} <li class="post-list-item"> - <a href="{{ post.url | relative_url }}">{{ post.title}}</a> + <a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a> </li> {% assign numPages = numPages | plus: 1 %} {% endif %} |
