mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove escapeHTML
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
This commit is contained in:
parent
533ae17767
commit
11d013b07e
7 changed files with 7 additions and 13 deletions
|
@ -1,6 +1,5 @@
|
|||
import React, { type FC } from 'react';
|
||||
import Box from '@mui/material/Box';
|
||||
import escapeHTML from 'escape-html';
|
||||
import itemHelper from 'components/itemHelper';
|
||||
import { isUsingLiveTvNaming } from '../cardbuilder/cardBuilderUtils';
|
||||
import type { ItemDto } from 'types/itemDto';
|
||||
|
@ -15,7 +14,7 @@ const DefaultName: FC<DefaultNameProps> = ({ item }) => {
|
|||
itemHelper.getDisplayName(item);
|
||||
return (
|
||||
<Box className='cardText cardDefaultText'>
|
||||
{escapeHTML(defaultName)}
|
||||
{defaultName}
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue