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 13, 2023
1 parent 886669a commit 688dd85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ func main() {
data = strings.Replace(data, "<<", "<<", -1)
// replace less than ( not open bracket )
data = strings.Replace(data, " < ", " < ", -1)
// replace simple &
//data = strings.Replace(data, " & ", " & ", -1)
// replace #<
data = strings.Replace(data, "#&lt;", "#&amp;lt; ", -1)


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

0 comments on commit 688dd85

Please sign in to comment.