Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Sometimes (specially when content comes from other sources) it would be useful to convert plain URLs to tags that can be later picked up by the default filter and converted to embeds.
Proposed resolution
Add a filter that does that.
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff.txt | 1.29 KB | slashrsm |
#5 | 2733385_5.patch | 13.1 KB | slashrsm |
#3 | interdiff.txt | 8.64 KB | slashrsm |
#3 | 2733385_3.patch | 13.12 KB | slashrsm |
#2 | 2733385_1.patch | 7.22 KB | slashrsm |
Comments
Comment #2
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedComment #3
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedAdded optional prefix that triggers conversions.
PR for tests: https://github.com/drupal-media/url_embed/pull/32
Comment #4
thenchev CreditAttribution: thenchev at MD Systems GmbH for Acquia commentedWrong use statement.
typo
Comment #5
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedComment #6
thenchev CreditAttribution: thenchev at MD Systems GmbH for Acquia commentedIts passing on the pull request. Looks good to go.
Comment #7
slashrsm CreditAttribution: slashrsm at MD Systems GmbH commentedCommitted.