From 6f4d71c6597a12efdbb7ae30acf2953f87c9136f Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 4 Nov 2024 23:21:08 +0200 Subject: add comment --- internal/platforms/linkedin/escapes.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/platforms/linkedin/escapes.go b/internal/platforms/linkedin/escapes.go index 5f803a5..9ab3077 100644 --- a/internal/platforms/linkedin/escapes.go +++ b/internal/platforms/linkedin/escapes.go @@ -8,8 +8,9 @@ import ( func escapeLinkedInText(input string) string { var builder strings.Builder + // TODO: '"' escapes don't work correctly yet, they show up as \"...\" in LinkedIn posts reservedChars := map[rune]string{ - '"': "\\\"", + '"': "\\\"", // Just remove this line to fix the above? '|': "\\|", '{': "\\{", '}': "\\}", -- cgit v1.2.3