mgree / phpenkoder

Mirror of https://plugins.trac.wordpress.org/browser/php-enkoder/. Wordpress plugin for obfuscating email addresses.
http://www.weaselhat.com/phpenkoder/
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Parse full HTML #1

Open mgree opened 7 years ago

mgree commented 7 years ago

PHPEnkoder presently works by running regular expressions over the entirety of the_content. Apparently doing so can lead to wrong encodings.

It should be possible to work in a more principled way:

Huge pro: PHPEnkoder works cleaner and is almost surely more correct. Significant con: PHPEnkoder will interact even less well with other plugins. Significant con: PHPEnkoder will be much slower.

Current count of bug reports around this issue: 4.

mgree commented 5 years ago

Relatedly, a user has requested that PHPEnkoder be able to run in rich text. Would supporting HTML solve this problem?