I am using replacement patterns to rewrite the results of my content title field with the manufacturers name in front of the title. I am using the following custom text within the title field to accomplish this:
{{ field_tool_manufacturer }}<br>{{ title }}
I am then outputting this field as a custom link, with the path Node/{{ nid }}
Both the manufacturer and title fields render linked to the node correctly, but the problem is that they should be a single rewritten text link, but it's being output as 2 separate links. One link for the manufacturer, and a separate one for the title. This of course isn't optimal for UX as it communicates 2 separate links especially with css hover styling, etc.
The results are the same when removing the <br>
line break. The manufacturer field is excluded from the display, and it is not set to be output as a link in the original field. I have tried multiple style settings with no better luck.
I did this with very little trouble in Drupal 7, so I am wondering if this is a bug that I should create an issue for, or if there is a structural change that is causing the 2 links. I'm new to Drupal 8, so I might be missing something simple. Any help would be appreciated, and let me know if I left out any useful info.
Thanks!