From 1c2dfeddfe3fab83e9342dc8a0833baeb933b0a7 Mon Sep 17 00:00:00 2001 From: Ed Date: Mon, 17 Dec 2018 19:00:43 -0500 Subject: [PATCH] Fix markdown link parsing for in --- in_command.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/in_command.go b/in_command.go index 36b629b..68c183a 100644 --- a/in_command.go +++ b/in_command.go @@ -137,6 +137,9 @@ func (c *InCommand) getAttachments(releaseBody string) ([]attachment, error) { continue } + nameStart++ + urlStart++ + attachments = append(attachments, attachment{ Name: line[nameStart:nameEnd], URL: line[urlStart:urlEnd],