Skip to content

Add HTML tidying as an option #7190

Open
grahamsz/hugo
#1
@asomervell

Description

@asomervell

https://gohugo.io/news/0.69.0-relnotes/

Given the hugo templating engine creates whitespace hell in output now that resources.PostProcess exists it would be awesome to have a similar hook to tidy the output HTML.

Here's a great Go lib that does it perfectly https://github.com/yosssi/gohtml

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions