org autolinks stop before trailing punctuation !371

merged merged by cmc on 2026-09-11 01:38 UTC · krz/gitbay:org-autolink-punct into main

Discussion

cmc

An orgWriter extending go-org's HTML writer overrides WriteRegularLink for autolinks only: trailing .,;:!?'" come off the URL and are written as text after the link, and a ) comes off only when unbalanced. Regular [[...]] links are untouched. Covers README, wiki and comment bodies, since all org goes through renderOrg.

Closes #209