GG/cmd/gg/gg.go: geen "Externe link icoon" (titel van svg)
This commit is contained in:
@@ -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` +
|
||||
` | ` +
|
||||
|
||||
Reference in New Issue
Block a user