Closed rickyphewitt closed 7 years ago
Good catch... We could pass the descriptions through this regex: http://stackoverflow.com/a/4869782
re.sub('<[^<]+?>', '', text)
I think using something from this post may be better.
Using a regex, especially such a simple one, will run into edge cases sooner or later I'm sure so we might as well get it right the first time around, even if it does mean a bit more reading. ;)
Agreed @rikai.
Not sure if this affects other shows, but looking at the descriptions of the User Error shows in Kodi they contain
<p>
tags. Those tags and any other html tags should be stripped out prior to setting the description. Other shows descriptions should be audited for this as well.