I've have now found where you have HIDDEN the bug tracker
I added a report to the bug tracker which was closed
I also tried to add a page to the wiki to explain what it is I am reporting but the page was simply deleted with the comment
post bug reports in the forum.
By the way the following will probably be meaningless seeing as how the examples given are intended to show up on a dokuwiki page and not a forum.
This is an old revision of the document!
--------------------------------------------------------------------------------
−Table of Contents
Blank lines appear as code boxes
[edited to add]
It does NOT work
The FixBlank lines appear as code boxes
I would like to report a bug which affects the output of pages
I do not really know how to explain it or if this is the right place to tell you about it however I can show you what i mean here
the problem is Blank lines are being returned with this markup '<pre class=“code”> </pre>'
rather than the expected '<br /> <br />'
this fills pages with empty code boxes between lines of text
like so
Please help
I can be contacted via email at
admin@threesixes.co.uk
I have found this in the Wiki Syntax help section which sort of explains things
Paragraphs are created from blank lines. If you want to force a newline without a paragraph, you can use two backslashes followed by a whitespace or the end of line.
This is some text with some linebreaks
Note that the two backslashes are only recognized at the end of a line
or followed by
a whitespace \\this happens without it.
This is some text with some linebreaks\\ Note that the
two backslashes are only recognized at the end of a line\\
or followed by\\ a whitespace \\this happens without it.You should use forced newlines only if really needed.
It does NOT work
I have tried to use backslashes to create a blank line without the new <p> paragraph But it does not work
//
I still get the boxes, and to honest even if it did work I think it is too much to ask of my members to remember to add backslashes to blank lines, surely there is a section of code which can be edited to make the wiki return this markup <br /> <br /> as opposed to this markup <p><pre class=“code”> </pre></p>
Okay so I had a look through the parser files
I found that inc/parser/xhtml.php is the file which creates the markup
I found the line of code needed
function preformatted($text){
$this->doc .= '<pre class="code">' . $this->_xmlEntities($text) . '</pre>'. DOKU_LF;
}
is it not possible to edit the code so that it returns blank lines as ' < br />' ?
I'm sure this would solve the issue