Closed (works as designed)
Project:
Pathologic
Version:
6.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Oct 2011 at 15:29 UTC
Updated:
20 Feb 2012 at 09:20 UTC
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
Comment #1
Garrett Albright commentedThis 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.
Comment #2
sittard commentedThe 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.