lib/site_template/index.html in jekyll-3.1.6 vs lib/site_template/index.html in jekyll-3.2.0.pre.beta1
- old
+ new
@@ -10,10 +10,10 @@
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
- <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
+ <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title | escape }}</a>
</h2>
</li>
{% endfor %}
</ul>