I want PDF documents to open in a new window.

I set pattern matching as follows: "Include links matching the pattern: \.pdf"

This works fine and opens in a new window; it creates a blank space to the right of the link text where the external link icon should be shown, but no icon appears.

Comments

ryantollefson created an issue. See original summary.

elachlan’s picture

Pretty sure you target the parent element not the individual element. It then adds icons to all anchors inside the parent element.

elachlan’s picture

Status: Active » Closed (cannot reproduce)
potassiumchloride’s picture

Version: 8.x-1.0-alpha2 » 8.x-1.6
Status: Closed (cannot reproduce) » Active

I have this same issue on 8.6-1.x.

I want to include links from example.com/documents but when I use the regular expression [\b]documents. all of the links open in a new tab but do not show the icon.