Skip to content
Commit f2b94b4e authored by Jonathan Matthew's avatar Jonathan Matthew 🐌
Browse files

podcast: use webkit to display HTML episode descriptions (bug #320507)

The main interesting bit here is that we need to distinguish between
plain text and HTML descriptions, as interpreting plain text as HTML
removes all formatting.  Since we're dealing with small document
fragments here, normal content type detection doesn't work.  Instead, we
search for a set of strings, such as common tags and entities, that
reliably indicate HTML content.

The dependency on webkit is optional.
parent f6c1c8a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment