For some reason highlighted code generated from codedoc tags looks different than highlighted code generated from DokuWiki's core code tags. E.g. the following example causes different results also the source code is the same:
<codedoc code:C>
void main () {
printf ("Hello World!");
exit 0;
}
</codedoc>
<code C>
void main () {
printf ("Hello World!");
exit 0;
}
</code>
This is strange as the codedoc plugin just calls p_xhtml_cached_geshi(). I noticed that the " around the Hello World! strings are different. It seems to be an encoding problem but I could not find the source of the problem yet.
For some reason highlighted code generated from
codedoctags looks different than highlighted code generated from DokuWiki's corecodetags. E.g. the following example causes different results also the source code is the same:This is strange as the codedoc plugin just calls
p_xhtml_cached_geshi(). I noticed that the"around theHello World!strings are different. It seems to be an encoding problem but I could not find the source of the problem yet.