Ignore:
Timestamp:
10/22/09 15:19:47 (3 years ago)
Author:
GeorgeClark
Message:

Item2183: Protect div with style= attribute by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin.pm

    r5239 r5356  
    695695colgroup=align,char,charoff,span,valign,width; 
    696696dir=compact; 
    697 div=align; 
     697div=align,style; 
    698698dl=compact; 
    699699font=size,face; 
     
    729729    foreach my $row (@protectedByAttr) { 
    730730        if ( $tag =~ /^$row->{tag}$/i ) { 
    731             return 1 if ( $attr =~ /^($row->{attrs})$/i ); 
     731            if ( $attr =~ /^($row->{attrs})$/i ) { 
     732                #print STDERR "Protecting  $tag with $attr matches $row->{attrs} \n";    #debug 
     733                return 1; 
     734            } 
    732735        } 
    733736    } 
Note: See TracChangeset for help on using the changeset viewer.