Skip to content

Commit

Permalink
Merge branch 'patch-3' of github.com:paavo/Networkteam.Neos.MailObfus…
Browse files Browse the repository at this point in the history
…cator
  • Loading branch information
paavo committed May 31, 2023
2 parents 4b6761a + 0b23a19 commit c90d767
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,23 @@ Networkteam:
atCharReplacementString: '<img src="https://example.com/at-icon.png" alt="at" />'
```
## EEL Helpers
There are Eel helpers available to use MailObfuscator functions in Fusion
```
// Convert @ Character
${Networkteam.Neos.MailObfuscator.convertAtChar('[email protected]')}
// returns: foo (at) example.com

```
```
// Convert Mail to Href
${Networkteam.Neos.MailObfuscator.convertMailto2Href('[email protected]')}
// returns javascript:linkTo_UnCryptMailto('obfuscatedEmail', -randomNumber)
```


## Acknowledgments

Original email address obfuscation code by [TYPO3 CMS](http://www.typo3.org).
Expand Down

0 comments on commit c90d767

Please sign in to comment.