I would like to have the CSV plugin (
http://wiki.splitbrain.org/plugin:csv) render wiki markup within tables, like the builtin doku tables do. From other plugin examples and the plugin docs I was able to figure out that I need to add the following to the csv class:
function getAllowedTypes() {
return array('substition','protected','disabled','formatting','paragraphs');
}
function accepts($mode) {
return ('plugin_csv' != $mode);
}
But now all rows act like they start a new table, and become separate header rows. Wiki markup causes more header row breaks, though is otherwise properly interpreted and rendered.
Any ideas? I tried removing each of the allowed types, but that didn't help. I'm not sure if changing the accepts() function will help - I think what's above doesn't allow csv tables to be nested (I don't want to allow that).
I tried contacting the author, Steven Danz, but the email address is dead.