diff --git a/src/components/Parse/HTML.tsx b/src/components/Parse/HTML.tsx
index 78c18578..4652fa10 100644
--- a/src/components/Parse/HTML.tsx
+++ b/src/components/Parse/HTML.tsx
@@ -102,7 +102,7 @@ const renderNode = ({
)
}
} else {
- const domain = href?.split(new RegExp(/:\/\/(.[^\/]+)/))
+ const domain = href?.split(new RegExp(/:\/\/(.[^\/]+\/.{3})/))
// Need example here
const content = node.children && node.children[0] && node.children[0].data
const shouldBeTag = tags && tags.filter(tag => `#${tag.name}` === content).length > 0
@@ -128,17 +128,7 @@ const renderNode = ({
}}
>
{content && content !== href ? content : showFullLink ? href : domain?.[1]}
- {!shouldBeTag ? (
-
- ) : null}
+ {!shouldBeTag ? '...' : null}
)
}
diff --git a/src/screens/Compose/Root/Actions.tsx b/src/screens/Compose/Root/Actions.tsx
index f872fd6e..ab3bdff5 100644
--- a/src/screens/Compose/Root/Actions.tsx
+++ b/src/screens/Compose/Root/Actions.tsx
@@ -167,7 +167,7 @@ const ComposeActions: React.FC = () => {
}}
style={styles.button}
onPress={attachmentOnPress}
- children={}
+ children={}
/>