デフォルト状態での簡易テストしかしていないので、もし自力でトラブル対応できるのなら、自動変更はこんなんでどうでしょう?(自信がなければ、手を出さずに上の質問に答えた方がいいですよ)
lib/convert_html.php (r1.18 デフォルトの時の目安は650行目あたり)
$string .= $this->wrap($part_string, $part);
}
- $string = $this->wrap($string, 'table', ' class="style_table" cellspacing="1" border="0"');
+ $class_name = is_a($this->parent, 'ListElement') ? 'style_table2' : 'style_table';
+ $string = $this->wrap($string, 'table', ' class="' . $class_name . '" cellspacing="1" border="0"');
return $this->wrap($string, 'div', ' class="ie5"');
}
}
ただ、コレだと同じくListElement クラスを使っている、'dl', 'dt' の組み合わせ*1 にも適用されてしまいますが。 --