mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-19 09:07:36 +08:00
Markdown conversion failures called panic(err), crashing the process rather than allowing graceful error handling. Change the return type to (string, []attachment.Attachment, error) and propagate the error. Update all callers (mark.go, markdown_test.go) accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>