Replace html content from Hugo Pipes?

This should help me too:
https://discourse.gohugo.io/t/refactor-multiple-replace-statements/9994