mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
revert overview change
This commit is contained in:
parent
6a1414ab15
commit
434a9e28b2
@ -146,15 +146,16 @@ namespace MediaBrowser.Controller.Providers
|
||||
|
||||
case "Overview":
|
||||
case "Description":
|
||||
var overview = reader.ReadInnerXml();
|
||||
const string cdataRegex = @"\<\!\[CDATA\[(?<text>.*)\]\]\>";
|
||||
if (Regex.IsMatch(overview, cdataRegex))
|
||||
{
|
||||
var match = Regex.Match(overview, cdataRegex);
|
||||
overview = match.Groups["text"].Value;
|
||||
var val = reader.ReadElementContentAsString();
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(val))
|
||||
{
|
||||
item.Overview = val;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
item.Overview = overview;
|
||||
break;
|
||||
|
||||
case "TagLine":
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user