diff options
author | Kuba <kuba.serafinowski@gmail.com> | 2019-07-28 20:55:42 +0300 |
---|---|---|
committer | Kuba <kuba.serafinowski@gmail.com> | 2019-07-31 23:09:20 +0300 |
commit | 310a0b75c720b5dd963121393b310bb9bf54cd02 (patch) | |
tree | bada8c976597a45979c84308cc1cdc7b6d34634f /layouts | |
parent | ee464457e321f95b9f1611817e1c0d6309cb68d2 (diff) |
use htmlUnescape before truncating to avoid apostrophes being escaped
Diffstat (limited to 'layouts')
-rwxr-xr-x | layouts/services/summary.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/services/summary.html b/layouts/services/summary.html index eda5c9b..57d46ee 100755 --- a/layouts/services/summary.html +++ b/layouts/services/summary.html @@ -3,6 +3,6 @@ <h2 class="service-title"> <a href="{{ .Permalink }}">{{ .Title }}</a> </h2> - <p>{{ .Content | plainify | truncate 120 "…" }}</p> + <p>{{ .Content | plainify | htmlUnescape | truncate 120 "…" }}</p> </div> </div> |