You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using DokuWiki (2012-01-25 Angua) and the latest creole plugin.
I read the FAQ about lists with multiple lines. http://www.dokuwiki.org/faq%3Alists
So I used the same style as discribed in the FAQ. The only different is the tag.
With creole {{{ code }}} syntax the html code is wrong.
Wrong html code: <code> code </code>
With DokuWiki <code> code </code> syntax the html code is correct
Correct html code: <pre class="code"> code </pre>
It seems like that the generated <code> code </code> code would not be parsed from DokuWiki.
Sample for code block in a list item:
* Text 1
** Text 2
*** Text 3
*** Text 4 {{{
Code 1
Code 2
}}}
*** Text 5
** Text 6 {{{
Code 3
Code 4
}}}
The text was updated successfully, but these errors were encountered:
I fixed it for myself.
The problem is in the file syntax/preinline.php.
I replaced the handle function with the handle function of the file syntax/preblock.php.
And everything is fine.
I want to add a code block in a list item.
I'm using DokuWiki (2012-01-25 Angua) and the latest creole plugin.
I read the FAQ about lists with multiple lines. http://www.dokuwiki.org/faq%3Alists
So I used the same style as discribed in the FAQ. The only different is the tag.
With creole
{{{ code }}}
syntax the html code is wrong.Wrong html code:
<code> code </code>
With DokuWiki
<code> code </code>
syntax the html code is correctCorrect html code:
<pre class="code"> code </pre>
It seems like that the generated
<code> code </code>
code would not be parsed from DokuWiki.Sample for code block in a list item:
The text was updated successfully, but these errors were encountered: