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:
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user