Skip to main content
2 of 2
added 159 characters in body
Lovntola
  • 344
  • 2
  • 14

Joomla adds / to empty href and src attribute

I have a mustache template and the output via php is:

<a href="{{link}}"><img src="{{image}}" title="{{name}}" alt="{{name}}"></a>

but Joomla renders my output to:

<a href="/{{link}}"><img src="/{{image}}" title="{{name}}" alt="{{name}}"></a>

so all links are filled with mustache are wrong.

How can I disable this?

UPDATE: I found that /plugins/system/sef/sef.php up to line 118 are made this change.
But how can I change it without change anything in the core files?

Lovntola
  • 344
  • 2
  • 14