GG/cmd/gg/gg.go: geen "Externe link icoon" (titel van svg)

This commit is contained in:
Peter Kleiweg
2026-03-25 17:49:54 +01:00
parent 65b36ceec4
commit ac9e91082b

View File

@@ -157,6 +157,12 @@ func doArticle(filename string, url string, title string, timestamp time.Time, n
root := doc.Root()
svgs, err := root.Search(`//svg`)
p(err)
for _, svg := range svgs {
svg.Remove()
}
ell, err := root.Search(
`//div[contains(@class,"component-richtext")]/p` +
` | ` +