and admin menu

Moonshine - April 17, 2009 - 20:32
Project:Invisimail
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:minor
Assigned:Unassigned
Status:closed
Description

Just a quick note..

Was having trouble with Invisimail hitting due to the Typogrify filter inserting   before some addresses for orphan control. Even after some re-arrangement I wasn't very happy with some of the other results caused so I'm thinking this may be a good addition for Invisimail. I don't think it would hurt anything to go from:

<?php
  $pattern
= '!(<p>|<li>|<br />|[\s\(])([A-Za-z0-9._-]+@[A-Za-z0-9._-]+\.[A-Za-z]{2,4})([.,]?)(?=(</p>|</li>|<br />|[\s/)]))!i';
?>

to

<?php
  $pattern
= '!(<p>|<li>|<br />|[\s\(]|&nbsp\;)([A-Za-z0-9._-]+@[A-Za-z0-9._-]+\.[A-Za-z]{2,4})([.,]?)(?=(</p>|</li>|<br />|[\s/)]))!i';
?>

One other thing is that I noticed Invisimail has a setting form in Site Configuration in addition to individual ones for configuration within each formatter. Is the one in Site Configuration actually used for anything?

Thanks!

#1

Crell - May 12, 2009 - 18:33

Can you roll a patch for that change so that we can test it and see if it breaks anything else? (I don't actually understand the regexes in this module; I inherited it. :-) )

#2

ebrand - May 27, 2009 - 20:45
Status:active» needs review

Here's a patch for this.

I don't see a link in site configuration, only in Input Formats so I'm not sure if you're talking about a different version.

AttachmentSize
invisimail_newregex.patch 3.4 KB

#3

Crell - June 29, 2009 - 22:35
Status:needs review» fixed

The regex was just completely rewritten to be somewhat saner to comprehend. It probably fixed this, too. :-) If not, please reopen with a new patch. Thanks.

#4

System Message - July 13, 2009 - 22:40
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.