Merge pull request #15 from snOm3ad/master

fixed unescaped characters bug
This commit is contained in:
Robert Austin 2019-07-23 10:40:38 +10:00 committed by GitHub
commit d1b71a5750
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,5 +3,5 @@
<img alt="{{ .Title }}" src="{{ .Params.image }}" />
{{ end}}
<h2 class="title-summary"><a href="{{ .Permalink }}">{{ .Title }}</a></h2>
<p>{{ .Content | plainify | truncate 140 }}</p>
<p>{{ htmlUnescape .Content | plainify | truncate 140 }}</p>
</div>