Closed (fixed)
Project:
Alinks
Version:
2.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2019 at 05:17 UTC
Updated:
1 Feb 2024 at 08:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mukundhraj commentedAfter tracing the code we found that there was a break statement in "AlinkPostRenderer.php" which was causing only one keyword to get replaced while the rest was not accounted for so on removal of the break statement itseems to replace all keywords. Created a patch and have attached the same. Please check
Comment #3
adao.boscolo commentedHi @mukundhraj
Thanks for the patch.
I applied to Drupal 9 (9.3.15) and version 2.0.0 of module but not work.
Only the first keyword is replaced.
If you need help testing this patch again, I can help you.
Thanks!
Comment #4
bbu23Comment #6
bbu23I added an option in the settings form (/admin/config/content/alinks) to choose between replace all or replace first. Defaults to replace first. This setting is global as a quick solution.
Comment #7
drupaldope commentedresolved in the current dev release
https://www.drupal.org/project/alinks/issues/3412674
Comment #8
drupaldope commented