Skip to content

Commit

Permalink
Handle line breaks in the manga description
Browse files Browse the repository at this point in the history
  • Loading branch information
schroda committed Dec 18, 2023
1 parent 1300c10 commit 226f2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/manga/MangaDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export const MangaDetails: React.FC<IProps> = ({ manga }) => {
<BottomContentWrapper>
<Description>
<h4>{t('settings.about.title')}</h4>
<p>{manga.description}</p>
<p style={{ whiteSpace: 'pre-line' }}>{manga.description}</p>
</Description>
<Genres>
{manga.genre.map((g) => (
Expand Down

0 comments on commit 226f2e1

Please sign in to comment.