michitux / dokuwiki-plugin-text

renders page as plain text. USAGE: <pagename>?do=export_text
3 stars 4 forks source link

Datatables of "data" plugin displayed incorrectly #4

Open tmo26 opened 9 years ago

tmo26 commented 9 years ago

When doing an export of a standard dokuwiki table, the text plugin works fine, i.e. each line of the table is a separate line in the text export.

However, when doing a text export of a table that is created with the data plugin (https://www.dokuwiki.org/plugin:data), all lines of this table are exported as one single line, no linebreaks. Not that good to read or process.

I'm not sure whether this is a problem of the text or the data plugin. Please let me know if you need more information to solve this problem.

BTW: I'm using Release 2015-08-10a "Detritus"

michitux commented 8 years ago

This can be fixed in the data plugin by including explicit support for text rendering. What the text plugin does is using the HTML output from the data plugin and stripping the HTML tags. Of course, this HTML code conversion could be improved, too, in order to fix this.