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.
6.1
No response
No response
No response
No response
| Labels |
Added:
bug
|
||
| Labels |
Added:
No Code Attached Yet
|
||
Closing. It is not an issue of Joomla Core
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-05-09 13:34:13 |
| Closed_By | ⇒ | chmst |
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.