I have used the module Rep[lacement]Tags to create a link as follows:
To view this page please <a href="..{PAGE}">click here</a>

With pathologic enabled the output is rendered as "{PAGE}" and the tag is not replaced with the page URL.

If I place the {PAGE} Rep[lacement]Tags outside of the link for example:
<p>{PAGE}</p>

The output is then correctly rendered with the tag being replaced with the page URL.

Comments

Garrett Albright’s picture

This issue is likely related to this issue, and I offer the same answer - are the tokens/tags/whatever not being replaced before the text gets passed to Pathologic? If not, then there's no way that Pathologic can handle them correctly, unfortunately. If this module works via an input filter, then double-check that its filter is ordered before Pathologic's.

sittard’s picture

Status: Active » Closed (works as designed)

The module Rep[lacement]Tags is not an input filter so reordering was not possible.

However, I did some further testing and discovered that if I add a fully qualified domain name to the URL as follows: To view this page please <a href="http://www.mydomain.com{PAGE}">click here</a> then it bypasses PATHOLOGIC and effectively resolves my issue.

Thanks.