We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54a4b09 commit a8b9281Copy full SHA for a8b9281
server/models/FeedEpisode.js
@@ -308,7 +308,6 @@ class FeedEpisode extends Model {
308
const customElements = [
309
{ 'itunes:author': this.author || null },
310
{ 'itunes:duration': Math.round(Number(this.duration)) },
311
- { 'itunes:summary': this.description || null },
312
{
313
'itunes:explicit': !!this.explicit
314
},
@@ -319,6 +318,9 @@ class FeedEpisode extends Model {
319
318
// Remove empty custom elements
320
return Object.values(element)[0] !== null
321
})
+ if (this.description) {
322
+ customElements.push({ 'itunes:summary': { _cdata: this.description } })
323
+ }
324
325
return {
326
title: this.title,
0 commit comments