mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 10:29:01 -07:00
#22 - Need to strip html tags from overviews
This commit is contained in:
parent
e5cd49e567
commit
37d27ec0c3
@ -295,12 +295,12 @@ namespace MediaBrowser.Controller.Library
|
||||
|
||||
if (fields.Contains(ItemFields.Overview))
|
||||
{
|
||||
dto.Overview = item.Overview;
|
||||
dto.OverviewHtml = string.IsNullOrEmpty(item.Overview) ? item.Overview : item.Overview.StripHtml();
|
||||
}
|
||||
|
||||
if (fields.Contains(ItemFields.OverviewHtml))
|
||||
{
|
||||
dto.OverviewHtml = string.IsNullOrEmpty(item.Overview) ? item.Overview : item.Overview.StripHtml();
|
||||
dto.Overview = item.Overview;
|
||||
}
|
||||
|
||||
// If there are no backdrops, indicate what parent has them in case the Ui wants to allow inheritance
|
||||
|
Loading…
Reference in New Issue
Block a user