summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-11-04 23:21:08 +0200
committerPaul Buetow <paul@buetow.org>2024-11-04 23:21:08 +0200
commit6f4d71c6597a12efdbb7ae30acf2953f87c9136f (patch)
tree30ac73962d89da59dae45ef772a80c8f3f612bdf
parent5cf648edb9f411a736600a9c71c2d2feccd2a9ad (diff)
add comment
-rw-r--r--internal/platforms/linkedin/escapes.go3
1 files changed, 2 insertions, 1 deletions
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?
'|': "\\|",
'{': "\\{",
'}': "\\}",