Loading...
 
Skip to main content

Importer doesn't handle nested bullets right

Status
Open
Subject
Importer doesn't handle nested bullets right
Version
6.x
Feature
Import-Export
Submitted by
whit
Lastmod by
whit
Rating
(0)
Description

An imported Mediawiki page that has

Copy to clipboard
* a bullet ** sub bullet


gets translated to

Copy to clipboard
* a bullet {DL()} sub bullet {DL}


which results in the sub bullet and text not displaying on the page at all, except being represented by a small icon.

Yet if the importer had just left it as

Copy to clipboard
** sub bullet


it would have worked.

Update: Sometimes it does get the nested bullets. But there are other places where Mediawiki stuff ends up in the DL tags where it shouldn't - with the effect that it disappears from the visible page.

Workaround

As a kludge I've changed lib/pear/Text/Wiki/Render/Tiki/Deflist.php so that it has:

Copy to clipboard
case 'list_start': $output = "^\n"; break; case 'list_end': $output = "^\n"; break;


rather than throwing in the DL tags. This sets off whatever is at issue in a block-quote box, where the text remains visible - actually most often looks appropriate.

Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3684
Created
Tuesday 30 November, 2010 23:50:01 UTC
by whit
LastModif
Wednesday 01 December, 2010 02:39:59 UTC


Show PHP error messages