helga-agentur / drupal-module-email-obfuscator

Drupal Email Obfuscator Module
0 stars 0 forks source link

Don't obfuscate emails in html attributes #4

Closed hudsonmuff closed 1 year ago

hudsonmuff commented 1 year ago

All emails that are inside an html tag (i.e. content of an attribute) should be skipped.

At the moment only these three options are handled:

Find a regex to skip emails in any attribute.

hudsonmuff commented 1 year ago

Possible solution: (?<!<[^>]*)mail

hudsonmuff commented 1 year ago

Fixed with #12 (v2.2.0 & v1.2.0)