I must be doing something really simple wrong...
I have TinyMCE and SpamSpan installed. I create a new node, type in an email address in the body, and then submit. I expect to see the email address transformed into something spam-proof, but alas it is not. It seems to automatically convert to the mailto: tag.
This occurs weather I turn off TinyMCE in the node or not.
Any suggestions appreciated!
Comments
Comment #1
lakka commentedHi,
Please can I have more information, and some examples. Please tell me precisely what you are typing into tinymce, and what html code it produces both with and without spamspan enabled.
Thanks
Comment #2
misterlawrence commentedSure. I have made two examples:
Example 1 --
http://www.team8west.com/tst/node/112
I typed an email address into the body, and after submitting, the user can see the email address as a mailto tag, with no alteration.
This was done with TinyMCE, with a filter that has only one item checked:
Hide email addresses: Attempt to hide email addresses from spam-bots.Example 2 --
http://www.team8west.com/tst/node/113
I typed an email address into the body, and after submitting, the user can see the email address as a mailto tag, with no alteration.
This was done with TinyMCE turned off (
disable rich textselected), with a filter that has only one item checked:Hide email addresses: Attempt to hide email addresses from spam-bots.Any suggestions? Thanks!
Comment #3
lakka commentedLooks like your mysql server has problems - I cannot see your page, but get a lot of mysql errors.
Please can you post here (using
tags):1) precisely what you type into tinymce (I am assuming it is just an email address)
2) precisely what html code is put onto your page
a) without tinymce; and then
b) with tinymce
Comment #4
misterlawrence commentedThe SQL error was just a timing issue: every once in a while my service provider takes the server down. It's up and working again, so you can follow the two links again if you would like to try.
In both cases, all I entered was a test email of test@email.com.
In case 1, here is the HTML that resulted:
In case 2, here is the HTML that resulted:
Thanks for your help!
Comment #5
s.daniel commentedHave looked through the code and the first thing thakt looked a bit strange to me was your entry in the :
Usually that looks like this:
However this shouldn't be the issue, in fact before digging deeper into the problem here is a quick thought: Searched for the email adress in the code and the mailto: tag. It's not there - instead there is:
And this looks like the spamspan module is working. You see when spamspan is working you (if you have javascript turned on) see a clickable mailto:emailadress. This is what the javascript does. Try turning javascript off and check again if the mailto adress disappears.
Sebastian
Comment #6
lakka commentedSorry to take so long to get back to you on this. I think Sebastian has pointed out the potential problem - I can't imagine what is causing that change in the javascript code - perhaps something in your setup. As Sebastian says, try disabling javascript and see what happens in each case
Comment #7
s.daniel commentedSeems like it has been working all the time. Or at least does now: http://www.team8west.com/teachers
Comment #8
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.