Skip to content

Commit

Permalink
Fix feed xml tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mliezun committed Jan 11, 2024
1 parent 9a0e0d8 commit eccbbbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/feed.gr
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn generate_feed(posts) {
return 0
}
})
let content = ["xml", ["xmlns", "http://www.w3.org/2005/Atom"], [
let content = ["feed", ["xmlns", "http://www.w3.org/2005/Atom"], [
["generator", ["uri", "https://github.com/mliezun/mliezun.github.io", "version", "20240110"], [
"mliezun.github.io"
]],
Expand Down
2 changes: 1 addition & 1 deletion src/html.gr
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Renderer {
"tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u",
"ul", "var", "video", "wbr",
# XML Tags
"xml", "id", "updated", "subtitle", "entry", "author", "name", "updated", "content",
"feed", "id", "updated", "subtitle", "entry", "author", "name", "updated", "content",
"generator", "category", "summary",
]
this.voidTags = [
Expand Down

0 comments on commit eccbbbe

Please sign in to comment.