diff options
| author | Paul Buetow <paul@buetow.org> | 2024-11-04 23:21:08 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-11-04 23:21:08 +0200 |
| commit | 6f4d71c6597a12efdbb7ae30acf2953f87c9136f (patch) | |
| tree | 30ac73962d89da59dae45ef772a80c8f3f612bdf | |
| parent | 5cf648edb9f411a736600a9c71c2d2feccd2a9ad (diff) | |
add comment
| -rw-r--r-- | internal/platforms/linkedin/escapes.go | 3 |
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? '|': "\\|", '{': "\\{", '}': "\\}", |
