-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A new way of sanitizing HTML, updated deps. (#143)
* updated deps * Convert to and from Markdown to sanitise HTML * dedupe the final image list against embedded images in content
- Loading branch information
1 parent
5717e6e
commit 6399333
Showing
8 changed files
with
106 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
module github.com/TheMightyGit/rssole | ||
|
||
go 1.22 | ||
go 1.23 | ||
|
||
toolchain go1.23.2 | ||
|
||
require ( | ||
github.com/JohannesKaufmann/html-to-markdown/v2 v2.1.0 | ||
github.com/NYTimes/gziphandler v1.1.1 | ||
github.com/andybalholm/cascadia v1.3.2 | ||
github.com/gomarkdown/markdown v0.0.0-20241105142532-d03b89096d81 | ||
github.com/k3a/html2text v1.2.1 | ||
github.com/mmcdole/gofeed v1.3.0 | ||
golang.org/x/exp v0.0.0-20240823005443-9b4947da3948 | ||
golang.org/x/net v0.28.0 | ||
github.com/mpvl/unique v0.0.0-20150818121801-cbe035fff7de | ||
golang.org/x/exp v0.0.0-20241108190413-2d47ceb2692f | ||
golang.org/x/net v0.31.0 | ||
) | ||
|
||
require ( | ||
github.com/PuerkitoBio/goquery v1.9.2 // indirect | ||
github.com/JohannesKaufmann/dom v0.1.1-0.20240706125338-ff9f3b772364 // indirect | ||
github.com/PuerkitoBio/goquery v1.10.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/mmcdole/goxpp v1.1.1 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
golang.org/x/text v0.17.0 // indirect | ||
golang.org/x/text v0.20.0 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.