Changeset 2115


Ignore:
Timestamp:
03/02/10 10:22:11 (14 years ago)
Author:
amuller
Message:

Ticket #925 - Aplicação de melhoria no bloqueio de imagens

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/expressoMail1_2/js/draw_api.js

    r2113 r2115  
    18151815        td.colSpan = '2'; 
    18161816        div.appendChild(table_message_others_options); 
    1817         var imgTag = info_msg.body.match(/(<img[^>]*src[^=]*=['"][^'"]*["'][^>]*>)|(<td[^>]*background[^=]*=['"][^'"]*["'][^>]*>)/gi); 
     1817        var imgTag = info_msg.body.match(/(<img[^>]*src[^>=]*=['"]?[^'">]*["']?[^>]*>)|(<[^>]*(background[^=>]*=['"][^'">]*["']|style[^=>]*=['"][^>]*background(-image)?:[^:;>]*url\()[^>]*>)/gi); 
    18181818        var newBody = info_msg.body; 
    18191819        if(!info_msg.showImg && imgTag) 
Note: See TracChangeset for help on using the changeset viewer.