Hi MarkRS,
I contacted Ryan, see here on GitHub:
https://github.com/widgetfactory/jce/issues/142
There's a missing > in your Code.
Kind regards
Christine
JCE messes up links
- christine
- Phoca Hero

- Posts: 2991
- Joined: 28 Nov 2010, 17:20
Re: JCE messes up links
https://github.com/widgetfactory/jce/issues/142
Therefore Info from Ryan:
Missing the > after "
Kind regards,
Christine
Therefore Info from Ryan:
Not correct:This works fine for me in JCE:
<a href="{readonlinelink}">:Click here to read online</a>
This issue here (link to this thread) ... :
is that the poster's HTML is incorrect.
Code: Select all
<a href="{readonlinelink}":Click here to read online</a>Kind regards,
Christine
-
MarkRS
- Phoca Newbie

- Posts: 7
- Joined: 15 Apr 2026, 11:30
Re: JCE messes up links
Thanks for that Christine.
Yes, the posted html is incorrect (dammit!). Unfortunately that's not the code that's having the problem. I wasn't careful enough posting it and that lack of ">" and presence of ";" is just left over from where I manually corrected (incorrectly) the ">" that the editor produced.
Even when I do correctly have ">" there, ie
I get the problem.
Presumably no-one else here is seeing this same issue?
I also notice that if, in desperation, I take out the quotation marks around the variable, the editor removes everything on the line except the variable and the text that would have been in the link, separated by ">".
Yes, the posted html is incorrect (dammit!). Unfortunately that's not the code that's having the problem. I wasn't careful enough posting it and that lack of ">" and presence of ";" is just left over from where I manually corrected (incorrectly) the ">" that the editor produced.
Even when I do correctly have ">" there, ie
Code: Select all
<div><a href="{readonlinelink}">Click here to read online</a></div>Presumably no-one else here is seeing this same issue?
I also notice that if, in desperation, I take out the quotation marks around the variable, the editor removes everything on the line except the variable and the text that would have been in the link, separated by ">".
-
MarkRS
- Phoca Newbie

- Posts: 7
- Joined: 15 Apr 2026, 11:30
Re: JCE messes up links
Is it helpful to know that this isn't some badly formed newsletter I wrote myself? This is happening (for me) with the demo newsletter that is supplied with the extension :(
-
MarkRS
- Phoca Newbie

- Posts: 7
- Joined: 15 Apr 2026, 11:30
Re: JCE messes up links
Ok, I've found what it is. It is being caused by JCE.
It's caused when the option "Protect Shortcode" in the active profile options (Editor Parameters -> Advanced) is on.
To be fair, the option is marked as "experimental". I'll post in Ryan's github issue, if I have access.
<Later> I have the access to comment on that issue even though it's closed, but not to re-open it. Does that need doing or will Ryan see it anyway?
It's caused when the option "Protect Shortcode" in the active profile options (Editor Parameters -> Advanced) is on.
To be fair, the option is marked as "experimental". I'll post in Ryan's github issue, if I have access.
<Later> I have the access to comment on that issue even though it's closed, but not to re-open it. Does that need doing or will Ryan see it anyway?
- christine
- Phoca Hero

- Posts: 2991
- Joined: 28 Nov 2010, 17:20
Re: JCE messes up links
Hi MarkRS,

Ryan also replied there on Github:
Kind regards,
Christine
Thanks for the info directly in the issue on GitHub.MarkRS wrote: 16 Apr 2026, 10:47 Ok, I've found what it is.
It's caused when the option "Protect Shortcode" in the active profile options (Editor Parameters -> Advanced) is on.
Sure – Ryan saw it.<Later> I have the access to comment on that issue even though it's closed, but not to re-open it. Does that need doing or will Ryan see it anyway?
Ryan also replied there on Github:
It's not a bug, more like a feature request for him.Thanks for clarifying. I will see if I can get this working with Protect Shortcode enabled too.
Kind regards,
Christine