correctly escape titles subtitles and excerpts in all contexts; fixes #856
This commit is contained in:
parent
24e182b90e
commit
505305ebe7
10 changed files with 23 additions and 22 deletions
|
@ -25,7 +25,7 @@ title: 'Tag Index'
|
|||
<div class="post-list">
|
||||
{%- for post in site.tags[tag] -%}
|
||||
<div class="tag-entry">
|
||||
<a href="{{ post.url | relative_url }}">{{- post.title -}}</a>
|
||||
<a href="{{ post.url | relative_url }}">{{- post.title | strip_html -}}</a>
|
||||
<div class="entry-date">
|
||||
<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: date_format -}}</time>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue