NewPodcast: Prefer the rss.description attribute.

Since we can handle rendering html stuff by converting it to pango
we no longer need the text-only itunes summary attribure.
This commit is contained in:
Jordan Petridis
2018-04-03 19:42:09 +00:00
parent 935d61324f
commit af1cb43bd6
3 changed files with 12 additions and 12 deletions
+1 -3
View File
@@ -112,12 +112,10 @@ Tobias Bernard
<property name="halign">start</property>
<property name="valign">end</property>
<property name="label">foo</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="wrap_mode">word-char</property>
<property name="max_width_chars">90</property>
<attributes>
<attribute name="weight" value="medium"/>
</attributes>
</object>
<packing>
<property name="expand">False</property>
+1 -1
View File
@@ -123,7 +123,7 @@ impl ShowWidget {
// markup.
// let desc = dissolve::strip_html_tags(text).join(" ");
// self.description.set_text(&replace_extra_spaces(&desc));
self.description.set_text(&html_to_pango_markup(text));
self.description.set_markup(&html_to_pango_markup(text));
}
/// Set scrolled window vertical adjustment.