Problem/Motivation
With a certain link, we will have a double preview.
Steps to reproduce
1. Go to Text formats and editors. Choose your text editor and go to the configuration page.
Find Filter settings > Opengraph Filter and set up more than one Number of previews (for example, 2) and save the configuration.
2. Add a link that contains "https" and "www" (for example, https://www.wikipedia.org/) into the field and save.
3. The preview for the link is duplicated.
Proposed resolution
Updating the pattern of the links that process them.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2025-12-09 16-04-33.png | 90.19 KB | just-me |
Issue fork opengraph_filter-3562237
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
just-me commentedComment #3
just-me commentedComment #5
just-me commentedComment #7
loon commentedThanks, merged