Skip to content

Commit

Permalink
Merge pull request #1375 from consolelabs/fix(changelog)/remove-filte…
Browse files Browse the repository at this point in the history
…r-image

fix(changelog): remove filter image
  • Loading branch information
quanghuynguyen1902 authored Mar 25, 2024
2 parents 9e2cef1 + d6e4358 commit 58f8164
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/entities/product_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,7 @@ func (e *Entity) ParseChangelogContent(version string, title string, content str
text = e.parseMarkDown(markdownAST, &ctx, input)
filteredImages := make([]string, 0)
for _, img := range ctx.Images {
if strings.Contains(img, "imgur.com") {
filteredImages = append(filteredImages, img)
}
filteredImages = append(filteredImages, img)
}

// parse strong text
Expand Down

0 comments on commit 58f8164

Please sign in to comment.