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
1 changed files with 2 additions and 2 deletions

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>
</div>
<p>{{ htmlUnescape .Content | plainify | truncate 140 }}</p>
</div>