Skip to content

Commit

Permalink
fix: sanitize collection overview
Browse files Browse the repository at this point in the history
- Sanitize collection overview as if it were a description from AniDB, because 99% of the time it is.

- Closes #71
  • Loading branch information
revam committed Aug 19, 2024
1 parent 6886e79 commit e481000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shokofin/Providers/BoxSetProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ private async Task<MetadataResult<BoxSet>> GetShokoGroupMetadata(BoxSetInfo info

result.Item = new BoxSet {
Name = collection.Name,
Overview = collection.Shoko.Description,
Overview = Text.SanitizeAnidbDescription(collection.Shoko.Description),
};
result.Item.SetProviderId(ShokoCollectionGroupId.Name, collection.Id);
result.HasMetadata = true;
Expand Down

0 comments on commit e481000

Please sign in to comment.