forked from zulip/zulip-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
content: Handle legacy website previews
In legacy website preview messages, the image URL in `message_embed_image` element's `style` is formatted as: background-image: url(https://example.com/image.png) In the latest server revision, it is formatted as: background-image: url("https://example.com/image.png") So, fix the regexp to match the URL whether or not it's enclosed in quotes.
- Loading branch information
1 parent
08dc485
commit e0df0ed
Showing
2 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters