From ba9d6b467a1f03447789844048d913738c843569 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 10 Nov 2023 19:29:26 +0100 Subject: [feature] Media attachment placeholders (#2331) * [feature] Use placeholders for unknown media types * fix read of underreported small files * switch to reduce nesting * simplify cleanup --- internal/text/goldmark_custom_renderer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/text') diff --git a/internal/text/goldmark_custom_renderer.go b/internal/text/goldmark_custom_renderer.go index 438692577..0b31d900b 100644 --- a/internal/text/goldmark_custom_renderer.go +++ b/internal/text/goldmark_custom_renderer.go @@ -319,7 +319,7 @@ func (cr *customRenderer) handleHashtag(text string) string { // `` var b strings.Builder b.WriteString(``) -- cgit v1.2.3