Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello
Nice module!
Does anybody know how to use it in a block template file? Which function do I need to call to use invisimail?
Thanks,
Marco
EDIT: check_markup does not work.
Comments
Comment #0.0
46AND2 CreditAttribution: 46AND2 commented1
Comment #1
pontus_nilssonYou need to provide a text format where invisimail is enabled when you run check_markup().
I.e check_markup('test@test.com', 'html'); where html is the machine name of you text format where invisimail is enabled.
Comment #2
gruda CreditAttribution: gruda commentedRunning check_markup() will pass the string through every filter enabled for that text format. If you want to run a string through the invisimail filter only, try this (where 'html' is a text format where invisimail is enabled.)