Description

Fixed in 1.7

DocBook rendering of code display is broken.

With "code display" I mean any kind of text that is meant to be displayed verbatim:

This is an example of "code display".
    More text.
        And more.

Such code display is rendered in DocBook using the screen element. Within a screen element whitespace and in particular linebreaks are significant (see http://www.docbook.org/tdg/en/html/screen.html), but the current Docbook rendering outputs the whole XML file as one single line.

Steps to reproduce

  1. Export a Wiki page containing code display as DocBook

  2. Notice that the whole XML output consists of one line, messing up code display.

Example

This page contains code display (see "Description" above) and is thus a good example.

Component selection

Details

MoinMoin Version

1.5.7

OS and Version

irrelevant

Python Version

2.5

Server Setup

irrelevant

Server Details

irrelevant

Language you are using the wiki in (set in the browser/UserPreferences)

irrelevant

Workaround

Unknown.

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/DocBookRendersCodeDisplayWrong (last edited 2008-03-13 10:05:19 by MikkoVirkkilä)