diff --git a/CHANGELOG.md b/CHANGELOG.md index d6623413f9e..4307bce1dec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.4.4](https://github.com/hugomods/search/compare/v0.4.3...v0.4.4) (2023-06-28) + + +### Bug Fixes + +* strip HTML tags from headings ([167d5f1](https://github.com/hugomods/search/commit/167d5f1436c158bb944055d6882f79fefe5afaac)) + ## [0.4.3](https://github.com/hugomods/search/compare/v0.4.2...v0.4.3) (2023-05-23) diff --git a/layouts/partials/search/functions/parse-headings.html b/layouts/partials/search/functions/parse-headings.html index 517e60cdf6e..d54f1894876 100644 --- a/layouts/partials/search/functions/parse-headings.html +++ b/layouts/partials/search/functions/parse-headings.html @@ -2,7 +2,7 @@ {{- range .Fragments.HeadingsMap }} {{- $headings = $headings | append (dict "anchor" .ID - "title" (.Title | htmlUnescape)) + "title" (.Title | plainify)) }} {{- end }} {{- return $headings -}}