- Timestamp:
- 04/01/10 10:20:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/inc/class.imap_functions.inc.php
r2388 r2399 1199 1199 1200 1200 // All links should be moderated and they should only have the attribute 'target="blank"'. 1201 $pattern = '/<a[^>]+href= "([^>"]+)"[^>]*>(.*)<\/a>/im';1202 $replacement = '<a href="$ 1" target="_blank">$2</a>';1201 $pattern = '/<a[^>]+href=(3D)?["\']([^>"\']+)["\'][^>]*>([^<]*)<\/a>/im'; 1202 $replacement = '<a href="$2" target="_blank">$3</a>'; 1203 1203 $body = preg_replace( $pattern, $replacement, $body ); 1204 1204
Note: See TracChangeset
for help on using the changeset viewer.