We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 848b2e7 commit 854aec0Copy full SHA for 854aec0
main.go
@@ -104,15 +104,9 @@ func processPost(post *api.Post, board string) *feeds.Item {
104
item.Description = anchorize(strings.ReplaceAll(post.Comment, "<wbr>", ""))
105
if post.File != nil {
106
item.Description += fmt.Sprintf(
107
- "<img alt='%s' src='%s'/>",
108
- post.File.Name+post.File.Ext,
+ "<a href='%s'>Image Link</a>",
109
post.ImageURL(),
110
)
111
- item.Description += fmt.Sprintf(
112
- "<img alt='%d.jpg' src='%s'/>",
113
- post.File.Id,
114
- post.ThumbURL(),
115
- )
116
}
117
item.Author = &feeds.Author{Name: post.Name}
118
item.Created = post.Time
0 commit comments