mirror of
https://github.com/kovetskiy/mark.git
synced 2026-03-19 09:07:36 +08:00
ParseTitle returned lang[start:] without trimming, so inputs like 'python title My Title' returned ' My Title' with leading spaces. The extra whitespace propagated into the rendered Confluence title element. Add strings.TrimSpace to remove leading/trailing whitespace. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>