Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
sbouchet authored Oct 12, 2023
1 parent efa2d94 commit 089679e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func main() {
// remove <?xml version="1.0" encoding="UTF-8"?>
data = strings.Replace(data, `<?xml version="1.0" encoding="UTF-8"?>`, "", 1)
// replace &&
data = strings.Replace(data, "&amp;&amp;", "&amp;amp;&amp;amp", -1)
data = strings.Replace(data, "&amp;&amp;", "&amp;amp;&amp;amp;", -1)


f, err := os.OpenFile("rss.xml", os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0755)
Expand Down

0 comments on commit 089679e

Please sign in to comment.