Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Commit 912535b

Browse files
author
soliury
committed
don't show gif in topic
1 parent 76c8bf0 commit 912535b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/components/htmlRender/HtmlContent.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class HtmlContent extends Component {
8989
if (/^\/\/dn-cnode\.qbox\.me\/.*/.test(uri)) {
9090
uri = 'https:' + uri
9191
}
92+
if (/.*\.gif$/.test(uri)) return null
9293
return (
9394
<Image
9495
key={index}

0 commit comments

Comments
 (0)