tdemin / gmnhg

Hugo-to-Gemini Markdown converter
GNU General Public License v3.0
29 stars 1 forks source link

Encode link URIs before rendering into Gemtext #51

Closed tdemin closed 2 years ago

tdemin commented 2 years ago

This makes gmnhg encode link destinations before rendering them into Gemtext according to RFC 3986. This fixes spaces in links in particular.

Fixes #49.

Introduces two new questions:

tdemin commented 2 years ago

Looks like URI escaping works more or less as expected with both Lagrange and Amfora.