I have found a solution. In settings, type auto-hyphenation. You will see the Books icon and the word Auto-hyphenation. Click on it and turn OFF the auto-hyphenation feature. It fixed my dash issue in text messages.
Issue with Automatic Hyphenation in Text Messages Affecting Email Addresses and URLs
Dear Apple Support Team,
I am writing to report a specific issue within the Messages app on Apple phones running iOS 17. The problem concerns the automatic hyphenation feature within text messages, which incorrectly breaks long email addresses and URLs.
Issue Description:
When typing or receiving a long email address or URL in a text message, the Messages app automatically inserts a hyphen to split the text at the end of a line. This action is causing functional issues, as it alters the integrity of email addresses or URLs. For example, an email address like "name@domain.org" gets split into "name@domain-.org", pushing ".org" to the next line and rendering the email address incorrect and unusable.
Impact:
This issue leads to confusion and communication errors, as recipients cannot directly use the message's broken links or email addresses. It requires manual correction or clarification, which is inconvenient and time-consuming.
Expected Behavior:
The ideal behavior would be for the Messages app to recognize email addresses and URLs as entities that should not be split or hyphenated, regardless of length. Instead, these should wrap as a whole to the next line.
Steps to Reproduce the Problem:
- Open the Messages app.
- Type or paste a long email address or URL that extends beyond the width of the message input area.
- Observe as the app automatically inserts a hyphen and splits the text.
Here is the solution I found myself. In settings, type auto-hyphenation. You will see the Books icon and the word Auto-hyphenation. Click on it and turn OFF the auto-hyphenation feature. It fixed my dash issue in text messages.
It would best serve us to fix the bug as the books and text messages are different features. Thank you.