Skip to content

Commit 059514a

Browse files
committed
Fix itunes:explicit tag (close: #789)
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 5c73499 commit 059514a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/feed/xml.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@ func Build(_ctx context.Context, feed *model.Feed, cfg *Config, hostname string)
9494
}
9595

9696
if cfg.Custom.Explicit {
97-
p.IExplicit = "yes"
97+
p.IExplicit = "true"
9898
} else {
99-
p.IExplicit = "no"
99+
p.IExplicit = "false"
100100
}
101101

102102
if cfg.Custom.Language != "" {
@@ -154,9 +154,9 @@ func Build(_ctx context.Context, feed *model.Feed, cfg *Config, hostname string)
154154
}
155155

156156
if cfg.Custom.Explicit {
157-
item.IExplicit = "yes"
157+
item.IExplicit = "true"
158158
} else {
159-
item.IExplicit = "no"
159+
item.IExplicit = "false"
160160
}
161161

162162
if _, err := p.AddItem(item); err != nil {

0 commit comments

Comments
 (0)