Prevent email obfuscation

Hello,

I create JSON from some pages, how can I prevent email addresses from being obscured?

"event_description" => (string)$article->content('fr')->text_full()->kt()

greetings

I assume you are using the (email: mail@example.com) KirbyTag in your content. It obfuscates the email address by default. If you want to avoid it, there are two ways:

  • Use the native Markdown <mail@example.com> syntax instead, which does not obfuscate.
  • Replace the (email: ) KirbyTag with your own implementation that does not obfuscate.

thanks @lukasbestle