Duplicate Links with subscript reference doesn't match up with Printer-friendly URLs list at bottom of page.

Created on 12 February 2024, 13 days ago
Updated 16 February 2024, 9 days ago


I'm doing some pretty long content and I noticed that the subscript reference setting isn't matching up with the list of links that are present at the end of the printed page. It seems like there is a mismatch of links in total.

Here's a comparison of links inline (extract) and links with subscript reference enabled and the list.

Steps to reproduce

create a new install of Drupal with Printable 3.x-dev installed.
Navigate to /admin/config/user-interface/printable
Choose Link handling: Subscript Reference
Click Save
Click the Print tab (/admin/config/user-interface/printable/print)
Choose "Printer-friendly URLs list in system Pages"
Click Submit
Navigate to /node/add/article
Add the following content to the body <p><a href="https://google.com">https://google.com</a></p><p><a href="https://yahoo.com">https://yahoo.com</a></p><p><a href="https://google.com">https://google.com</a></p>
Click Save
Navigate to /node/1/printable/print
Note that Link 5 is not the link that is represented in the list.

Proposed resolution

My expectation would be that the list of links present in the page would match the subscript references so that a person can easily find the url that is being referenced by looking them up when the page is printed on paper.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report






Created by

🇺🇸United States generalredneck

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build https://api.contrib.social 0.61.6-2-g546bc20