openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f19460983e6c0cc00af8855a85bbd48f2af54737
parent 448fa18e8dc3b18e8ec0a281b7a7622af3db7e4d
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Fri,  5 Feb 2021 13:10:34 +0300

gemini links

Diffstat:
Mii-gemini/main.go | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ii-gemini/main.go b/ii-gemini/main.go @@ -86,9 +86,9 @@ func gemini(f io.Writer, m *ii.Msg) { func(line []byte) []byte { link ++ s := string(line) - links = append(links, fmt.Sprintf("=> %s [%d]", - s, link)) - return []byte(fmt.Sprintf("%s[%d]", s, link)) + links = append(links, fmt.Sprintf("=> %s %s [%d]", + s, s, link)) + return []byte(fmt.Sprintf("%s [%d]", s, link)) })) } fmt.Fprintln(f, l)