signalapp / signalapp/Signal-iOS
apostrophes (`'`) are displayed as `'` in link previews
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 12.2k
- Forks
- 3.5k
- PR merge metrics
- No merged PRs in 30d
Description
Bug description
If the meta tag associated to a link shared in a message contains the character ' it is displayed as ' instead in the link preview. Has been tested with other messengers and they display the character correctly.
The bug is also present on Signal Desktop so it's likely a server side issue.
Steps to reproduce
- share a link who's meta tag contains the character
'(apostrophe).
Actual result: It displays ' instead
Expected result: It displays the actual character '
Device info
Device: iPhone 6s / iPhone XR / Ubuntu 22.04
iOS version: 15.8.2 / 18.3.1
Signal version: 7.73
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a shared link whose metadata contains an apostrophe, then inspect the link-preview handling in Signal-iOS to determine whether the escaping occurs on the client or server. Done means the preview displays the apostrophe itself rather than \u0026#039; on the reported devices.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100