Skip to content

Commit

Permalink
Fix the setup() function in the documentation (#22368)
Browse files Browse the repository at this point in the history
  • Loading branch information
leafac authored Mar 19, 2020
1 parent 5496e6b commit a55329b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/docs/adding-an-rss-feed.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ module.exports = {
}
`,
/* highlight-start */
setup: () => ({
setup: options => ({
...options,
custom_namespaces: {
itunes: 'http://www.itunes.com/dtds/podcast-1.0.dtd',
},
Expand Down

0 comments on commit a55329b

Please sign in to comment.