Skip to content

Commit

Permalink
Save <textInput> upon export
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Apr 24, 2015
1 parent 5f79528 commit 37eb057
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ impl ViaXml for Channel {
channel.tag_with_optional_text("ttl", &self.ttl);
channel.tag_with_optional_text("image", &self.image);
channel.tag_with_optional_text("rating", &self.rating);

if let Some(ref text_input) = self.text_input {
channel.tag(text_input.to_xml());
}

channel.tag_with_optional_text("skipHours", &self.skip_hours);
channel.tag_with_optional_text("skipDays", &self.skip_days);

Expand Down

0 comments on commit 37eb057

Please sign in to comment.