mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-19 09:07:36 +08:00
DecodeRuneInString returns utf8.RuneError for invalid UTF-8, which was silently converted to the hex string "fffd" and sent to Confluence. Return an error instead so the caller gets a clear diagnostic rather than storing a replacement character as the page emoji. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>