No Code Attached Yet bug
avatar 01Kuzma
01Kuzma
8 May 2026

What happened?

Joomla Email Cloaking plugin breaks JSON-LD structured data inside:

<script type="application/ld+json">

The plugin replaces email addresses with HTML markup even inside JSON scripts, which produces invalid JSON and breaks Schema.org structured data validation.

Example:
"email": "info@example.com"

becomes:
"email": "<joomla-hidden-mail ...>"

This causes JSON parse errors like:

Missing ',' or '}' after property value

JSON-LD scripts should probably be excluded from cloaking/filtering automatically.

Tested on Joomla 6.1.

Possible solution:
Skip processing for:

<script type="application/ld+json">

blocks inside the Email Cloaking plugin.

Version

6.1

Expected result

No response

Actual result

No response

System Information

No response

Additional Comments

No response

avatar 01Kuzma 01Kuzma - open - 8 May 2026
avatar 01Kuzma 01Kuzma - change - 8 May 2026
Labels Added: bug
avatar 01Kuzma 01Kuzma - labeled - 8 May 2026
avatar joomla-cms-bot joomla-cms-bot - change - 8 May 2026
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 May 2026
avatar jiteshkhatri11
jiteshkhatri11 - comment - 9 May 2026

I was able to reproduce this issue. The fix is to skip email cloaking
inside <script type="application/ld+json"> blocks. I am working on a PR for this.

avatar chmst chmst - close - 9 May 2026
avatar chmst
chmst - comment - 9 May 2026

Closing. It is not an issue of Joomla Core

avatar chmst chmst - change - 9 May 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-05-09 13:34:13
Closed_By chmst

Add a Comment

Login with GitHub to post a comment