ISSUE with placeholders and ContentAreas plugin

Tags: #<Tag:0x00007efff2140318>

Hi,

when we use the contentArea plugin placeholders dosn’t work in a link url, for example:

</p>https://mysite.com/[foreignkey]/[email]<p>
works perfectly it will be replaced with
https://mysite.com/445678/email@domain.com

But when is in a link dosen’t:

<p><a href="https://mysite.com/[foreignkey]/[email]">Click here</a></p>
it will be replaced with
<https://mysite.com/%5Bforeignkey%5D/%5Bemail%5D>

Any idea??

@rafaadrover The plugin doesn’t handle that particular usage of placeholders.

It does handle something like href="[placeholder]" but not when there is a mixture of text and placeholders.

I will look at fixing this.

Perfect, I appreciate it.

@rafaadrover That should be fixed now, allowing placeholders anywhere in an href URL. You can update the plugin on the Manage Plugins page.

It works perfectly now!!