Ignore:
Timestamp:
10/18/09 00:29:27 (3 years ago)
Author:
GeorgeClark
Message:

Item2183: Add style attribut to div tag in stickybits

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin.pm

    r5240 r5311  
    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.