.Summary now includes HTML

I’ve just noticed that the output from .Summary now includes HTML markup – <img>, for example – where it didn’t before.

I think the change was in version 0.134, and there has been some discussion about how this affects summaryLength.

Because of this, I’ve had to change {{ .Summary }} to {{ .Summary | plainify }} in a few places.

I can cope with that, but I can’t find anything in the documentation about this change.

Small change in the docs in the table Content summaries | Hugo

Here Configure Hugo | Hugo

And in the release notes Release v0.134.0 · gohugoio/hugo · GitHub

Thank you – I’d missed those.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.