Remove html parsing of manga and tracker descriptions

Reverts d726793e3d and a48cb0ce27 to get rid of the known issue mentioned in the commit description of d726793e3d.
Don't remember why I added this, it doesn't seem that either of the descriptions contains any html.
This commit is contained in:
schroda
2025-07-15 00:46:35 +02:00
parent f221425a89
commit ae1d0ecd67
4 changed files with 3 additions and 121 deletions

View File

@@ -14,8 +14,6 @@ import Stack from '@mui/material/Stack';
import IconButton from '@mui/material/IconButton';
import ExpandLessIcon from '@mui/icons-material/ExpandLess';
import ExpandMoreIcon from '@mui/icons-material/ExpandMore';
import parseHtml from 'html-react-parser';
import sanitizeHtml from 'sanitize-html';
import { useLocalStorage } from '@/modules/core/hooks/useStorage.tsx';
import { useResizeObserver } from '@/modules/core/hooks/useResizeObserver.tsx';
import {
@@ -64,7 +62,7 @@ export const DescriptionGenre = ({
mb: OPEN_CLOSE_BUTTON_HEIGHT,
}}
>
{parseHtml(sanitizeHtml(description, { disallowedTagsMode: 'recursiveEscape' }))}
{description}
</Typography>
</Collapse>
<Stack