When an email address is supplied pre-filled in a forms input textbox, spamspan spots the original email embedded as a "value" and edits it as if it were normal text. In so doing it breaks the form entirely.

<input type=text name="email" value="email@example.com">
becomes the following after spamspan:
<input type=text name="email" value="<span class="spamspan"><span class="u">email</span> [at] <span class="d">example [dot] com</span></span>">

In general I believe spamspan should leave form-presented email addresses alone.

CommentFileSizeAuthor
#1 spamspan-inputfield-bug.jpg5.92 KBradek76
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

radek76’s picture

FileSize
5.92 KB

I would also appreciate if the spamspan left out the form elements

peterx’s picture

Issue summary: View changes
Status: Active » Postponed (maintainer needs more info)

Spamspan could exclude email addresses enclosed in value="". Spamspan uses regular expressions to identify email addresses and a regex expert should be able to exclude something as specific as this request. If a regex expert wants to tackle this, change the release to 7 and reopen this issue.

peterx’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No D6 maintainer. I do not have D6 sites. Please reopen this in D7 if still required. Then find a maintainer to backport from D7 to D6.

radek76’s picture

I made now testing with the latest versions and everything works correctly - Drupal 6.33, SpamSpan 6.x-1.6 and Webform 6.x-3.21