Skip to content

Commit

Permalink
Merge pull request #159 from djhaskin987/feature/html-flag
Browse files Browse the repository at this point in the history
Fix github bot output
  • Loading branch information
dylex authored Jun 13, 2022
2 parents 16f639f + 7d77193 commit 644503e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion slack-message.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,13 @@ static void slack_attachment_to_html(GString *html, SlackAccount *sa, json_value
if (title) {
g_string_append(html, brtag->str);
g_string_append(html, "<b><i>");
link_html(html, title_link, title);
if (title_link) {
link_html(html, title_link, title);
} else {
slack_message_to_html(html, sa, title, NULL, attachment_prefix->str);
}
g_string_append(html, "</i></b>");

}

// main text
Expand Down

0 comments on commit 644503e

Please sign in to comment.