Skip to content

Commit

Permalink
Consider >> and << in XML
Browse files Browse the repository at this point in the history
  • Loading branch information
mliezun committed Jan 10, 2024
1 parent c0e6eb5 commit fe959d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/feed.gr
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ fn generate_feed(posts) {
"\"<=\"": "\"&lt;=\"",
"->": "-&gt;",
"<-": "-&lt;",
"<<": "&lt;&lt;",
">>": "&gt;&gt;",
}
for r, n in replacements {
text = u.replace(text, r, n)
Expand Down

0 comments on commit fe959d0

Please sign in to comment.