Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/components/molecules/FeedDetailFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@ const FeedDetailFooter = ({
 
{viewCount}
</div>
<div className='flex text-[18px] h-full items-center px-5'>
<Icon type='eye' className='w-5 h-5 text-zinc-300' />
&nbsp;
</div>
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/feed/ContentsBody.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface ContentsBodyProps {

const ContentsBody = ({ body }: ContentsBodyProps) => {
const getTruncatedContent = (html: string) => {
const sanitizedHtml = DOMPurify.sanitize(html);
const sanitizedHtml = DOMPurify.sanitize(html, { FORBID_TAGS: ['img'] });
return parse(sanitizedHtml);
};
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/feed/FeedListContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const FeedListContent = ({
createdAt,
}: FeedContentsProps) => {
return (
<div className='flex flex-col gap-3 rounded-[10px] p-5 w-full lg:hover:shadow-[4px_4px_6px_rgba(0,0,0,0.1)] lg:bg-transparent bg-white lg:m-0'>
<div className='flex flex-col gap-3 rounded-[10px] p-5 w-full lg:hover:shadow-[4px_4px_6px_rgba(0,0,0,0.1)] bg-white lg:m-0'>
<ContentsUser
userProfileUrl={user.avatarSrc}
name={user.name}
Expand Down