[interchange-cvs] interchange - ton modified code/UserTag/table_organize.tag
interchange-core@icdevgroup.org
interchange-core@icdevgroup.org
Thu Feb 6 07:38:00 2003
User: ton
Date: 2003-02-06 12:37:59 GMT
Modified: code/UserTag table_organize.tag
Log:
Removed some code that caused table-organize
to write the td.x attributes twice.
This solves Bugzilla# 489
Revision Changes Path
1.6 +0 -5 interchange/code/UserTag/table_organize.tag
rev 1.6, prev_rev 1.5
Index: table_organize.tag
===================================================================
RCS file: /var/cvs/interchange/code/UserTag/table_organize.tag,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- table_organize.tag 14 Jan 2003 00:15:20 -0000 1.5
+++ table_organize.tag 6 Feb 2003 12:37:59 -0000 1.6
@@ -314,11 +314,6 @@
$op[$i] =~ s/(<td)/$1 $td[$i]/i;
}
}
- if($opt->{td}) {
- for ( my $i = 0; $i < $cols; $i++) {
- $op[$i] =~ s/(<td)/$1 $td[$i]/i;
- }
- }
@op = map { s/>/>$td_beg/; $_ } @op if $td_beg;
@op = map { s/(<[^<]+)$/$td_end$1/; $_ } @op if $td_end;