{{- /* Oh dear, this is hacky. */ -}}
{{ safeHTML ( replaceRE "</?[^>]+>" "" ( replaceRE "<li>([^<]+)</li>" "* $1" ( .RawContent | markdownify ) ) ) }}

{{- /* Oh dear, this is hacky. */ -}}
{{ .RawContent | markdownify | replaceRE "<li>([^<]+)</li>" "* $1" | replaceRE "</?[^>]+>" "" | safeHTML }}

Clean up plain text layout, using pipe syntax
Clean up plain text layout, using pipe syntax
