How to post an email address in Drupal’s ‘filtered HTML’ mode without creating a link

In Drupal’s ‘filtered HTML’ input mode, email addresses are automatically turned into links. However, there are times when you don’t want this behavior, such as when you’re posting a SIP address, Google calendar address, or any string that looks like an email address but isn’t.

While you can turn off this behavior globally by editing the input type, that may not be what you want if you’re only posting a few of these addresses.

Instead, take a trick from HTML and post a character code. The character code for the @ symbol is @

Drupal will format this address as a link:

[email protected]

This will display just the same as the above, but will not be formatted as a link:

This helped me, so I thought I’d share it. If you have any Drupal tricks, feel free to share them in the comments below! Thanks!