mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 21:02:33 +00: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>