Skip to content

Commit

Permalink
Fix RSS 'content' namespace. (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwermeester authored May 11, 2021
1 parent 80612b3 commit 27ba4be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/Plot/API/RSS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ internal extension Document where Format: RSSBasedDocumentFormat {
.rss(
.version(2.0),
.namespace("atom", "http://www.w3.org/2005/Atom"),
.namespace("content", "http://purl.org/rss/1.0/modules/content"),
.namespace("content", "http://purl.org/rss/1.0/modules/content/"),
.group(nodes)
)
])
Expand Down
4 changes: 2 additions & 2 deletions Tests/PlotTests/Assertions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func assertEqualPodcastFeedContent(
type: "podcast",
namespaces: [
("atom", "http://www.w3.org/2005/Atom"),
("content", "http://purl.org/rss/1.0/modules/content"),
("content", "http://purl.org/rss/1.0/modules/content/"),
("itunes", "http://www.itunes.com/dtds/podcast-1.0.dtd"),
("media", "http://www.rssboard.org/media-rss")
],
Expand All @@ -161,7 +161,7 @@ func assertEqualRSSFeedContent(
type: "RSS",
namespaces: [
("atom", "http://www.w3.org/2005/Atom"),
("content", "http://purl.org/rss/1.0/modules/content")
("content", "http://purl.org/rss/1.0/modules/content/")
],
file: file,
line: line
Expand Down

0 comments on commit 27ba4be

Please sign in to comment.