1
0
Fork 0
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:
grafixeyehero 2024-02-28 21:18:37 +03:00
parent 533ae17767
commit 11d013b07e
7 changed files with 7 additions and 13 deletions

View file

@ -1,6 +1,5 @@
import React, { type FC } from 'react';
import Box from '@mui/material/Box';
import escapeHTML from 'escape-html';
import type { TextLine } from './cardHelper';
interface CardTextProps {
@ -19,7 +18,7 @@ const CardText: FC<CardTextProps> = ({ className, textLine }) => {
title={titleAction.title}
{...titleAction.dataAttributes}
>
{escapeHTML(titleAction.title)}
{titleAction.title}
</a>
);
} else {