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.
Comment | File | Size | Author |
---|---|---|---|
matches.png | 6.33 KB | Bohus Ulrych |
Comment | File | Size | Author |
---|---|---|---|
matches.png | 6.33 KB | Bohus Ulrych |
Comments
Comment #1
Andy Inman CreditAttribution: Andy Inman commentedHi Bohus,
Thanks for the report. I have confirmed your findings - so it looks like you have found a bug! It works ok if you have a line-break between the links, but not if they are on the same line. I suspect the problem is in the regular expression used, but I need to investigate further,
So, as a work-around, use a line-break between the links - of course, that may not give the the required output, especially if you have the Convert line breaks into HTML or similar filter enabled.
Comment #2
Andy Inman CreditAttribution: Andy Inman commentedComment #3
Andy Inman CreditAttribution: Andy Inman commentedOn further testing, I am not sure if this issue affects all link formats or just Generic HTML - it looks like the exact behaviour depends on what other filters are enabled and in what order. I need to investigate further.
Comment #5
Andy Inman CreditAttribution: Andy Inman commentedComment #6
Bohus UlrychThank you very much, this dev version really fixed my issue.
Comment #7
Andy Inman CreditAttribution: Andy Inman commentedThanks for the update Bohus. Out of curiosity, how/why are you using MultiLink? Can you give me the address of the site?
I'm going to mark this as fixed. The same bug will probably be in the D6 branch too, but that's now down to some 60 installations and most people probably don't use this feature, so I'm not going to bother to fix it there unless there's some demand.
Comment #8
Bohus UlrychHi Andy,
we are developing multilingual version (Entity Translation) of our corporate site - but the development site is not public of course.
I'm using multilink to generate correct URLs for the translations. Just from the /node/### links.
Thanks for your support.
Comment #9
Andy Inman CreditAttribution: Andy Inman commentedThanks for that info - interesting. I originally designed MultiLink for D6, and I imagined that with D7's much better language support in general it might not be very useful for D7 sites. If you can, please let me know when your site goes live, thanks!