Commit Graph
2 Commits
Author SHA1 Message Date
phundrak 8bec97a8a0 refactor: Move README.md to README.org, move todos to issues 2023-05-14 12:24:19 +02:00
phundrak 94dd2f4a8e fix: remove newlines in link descriptions
Currently, when an orgmode link has a newline in its description, it
is passed to the description of the Gemini link. Example:

```org
[[https://example.com][This is a link with a
newline to example.com]]
```

Which exports to:

```gmi
=> https://example.com This is a link with a
newline to example.com
```

This commit fixes this by replacing newlines with a simple space. The
new output is:

```gmi
=> https://example.com This is a link with a newline to example.com
```

It also fixes a compilation error on Emacs 30 by properly escaping
quotation marks.

Signed-off-by: Lucien Cartier-Tilet <lucien@phundrak.com>
2023-05-11 13:22:33 +02:00