Table of Contents
This plugin enables the preservation of line breaks from the raw wiki text through to the html output. It is a replacement for the standard DokuWiki XHTML renderer, as such to use it you must set the renderer_xhtml setting to the plugin's name,
'xbr'. For simplicity's sake the plugin uses all of the standard renderers routines with the exception of plain character output, where it uses its own routine to replace new lines with the HTML element,
Note, the plugin does not preserve multiple consecutive line breaks, but it will preserve single line breaks.
Also see the linebreak plugin.
Download and Installation
After installation, go via your wiki's admin panel to the Configuration Settings, under “Advanced”, there is an option to change the renderer_xhtml setting to
- 2008-06-30 — include Danny Lin's suggestions and move code to GitHub
- 2008-11-11 — installable packages and darcs versions prepared. No changes.
- 2008-08-13 — released
To Do (feature requests)
- ~~LINEBREAK~~ / ~~NOLINEBREAK~~ directives support would be extremely helpful.