The export to ODT creates a faulty file (faulty ODT XML syntax) if the definition list is the last content on a wiki page. This means there is nothing or just whitespace following the end of the definition list on a wiki page.
The problem can be fixed like this:
case DOKU_LEXER_EXIT:
if ($tag != 'dl') {
$renderer->p_close();
} else {
// Remove this line and it will work!
//$renderer->p_open();
}
break;
So, simply delete that line in function render_odt and the bug will be fixed.
Greetings, Lars (DokuWiki-User LarsDW223)
The export to ODT creates a faulty file (faulty ODT XML syntax) if the definition list is the last content on a wiki page. This means there is nothing or just whitespace following the end of the definition list on a wiki page.
The problem can be fixed like this:
So, simply delete that line in function render_odt and the bug will be fixed. Greetings, Lars (DokuWiki-User LarsDW223)