VocalPodcastProject / vocal

A powerful, beautiful, and simple podcast client for the modern free desktop.
GNU General Public License v3.0
350 stars 49 forks source link

Vocal fails to convert some html to markup causing parsing error when loading episode details #494

Closed xpaulnim closed 2 years ago

xpaulnim commented 2 years ago

Prerequisites

Describe the bug

On the details page, a tags are shown as text rather than being clickable links.

Running vocal from the terminal shows that Gtk is unable to parse the markup returned being set as the label text.

To Reproduce

Steps to reproduce the behavior:

  1. Subscribe to the Bible Recap podcast - https://feed.podbean.com/thebiblerecap/feed.xml
  2. On the main podcast view, click the Bible Recap podcast image.
  3. Look at the details pane on the right side to notice the issue

Expected behavior

a tags in episode descriptions should be rendered as clickable links.

Screenshots or screen recordings

vocal-no-conver-markup

Logs

(com.github.needleandthread.vocal:5522): Gtk-WARNING **: 19:47:33.440: Failed to set text 'SHOW NOTES: - All the info you need to START is on our <a href='http://www.thebiblerecap.com'&gt;website</a>! - Join our <a href='https://www.patreon.com/thebiblerecap'&gt;PATREON</a> family for bonus perks! - Get your <a href='https://www.theconnextion.com/tlcdgroup/index.cfm'&gt;TBR merch</a> - <a href='http://thebiblerecap.com/contact'&gt;Show credits</a> FROM TODAY’S PODCAST: - Video: <a href='https://www.youtube.com/watch?v=_TzdEPuqgQg'&gt;Isaiah Overview (Part Two)</a> - Want Tara-Leigh to speak at your event? <a href='https://www.taraleighcobble.com/speaking'&gt;Click here</a> for more info! SOCIALS: The Bible Recap:<a href='https://instagram.com/thebiblerecap'&gt; Instagram</a> |<a href='https://www.facebook.com/thebiblerecap'&gt; Facebook</a> |<a href='https://twitter.com/thebiblerecap'&gt; Twitter</a> D-Group:<a href='https://instagram.com/mydgroup/'&gt; Instagram</a> |<a href='https://www.facebook.com/ilovemydgroup'&gt; Facebook</a> |<a href='https://mobile.twitter.com/mydgroup'&gt; Twitter</a> TLC:<a href='https://instagram.com/taraleighcobble'&gt; Instagram</a> |<a href='https://www.facebook.com/taraleighcobble'&gt; Facebook</a> |<a href='https://twitter.com/taraleighcobble'&gt; Twitter</a> D-GROUP:
The Bible Recap is brought to you by<a href='https://www.mydgroup.org/'&gt; D-Group</a> - an international network of discipleship and accountability groups that meet weekly in homes and churches:<a href='https://www.mydgroup.org/map'&gt; Find or start one near you today</a>!' from markup due to error parsing markup: Error on line 1 char 114: '&gt;website<' is not a valid name

Platform Information

Please share as many of the following details as possible:

Please check the applicable option below:

Additional context