Skip to content

Commit

Permalink
✨ feat: Enhance ReadabilityProcessor to include clean HTML content in…
Browse files Browse the repository at this point in the history
… the output
  • Loading branch information
vaayne committed Jan 9, 2025
1 parent 2c50d97 commit 7d980d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/pkg/webreader/processor/readability.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,10 @@ func (p *ReadabilityProcessor) Process(ctx context.Context, content *webreader.C

content.Favicon = article.Favicon

// set content
// set text content
content.Text = article.TextContent
// set clean HTML content processed by readability
content.Html = article.Content

// Set the published and modified time
content.PublishedTime = article.PublishedTime
Expand Down

0 comments on commit 7d980d8

Please sign in to comment.