2008-07-12 16:33:20 +02:00
|
|
|
The following renders incorrectly:
|
2008-07-10 21:02:25 +02:00
|
|
|
|
2008-07-11 09:09:59 +02:00
|
|
|
\[[!toc ]]
|
2008-07-10 21:02:25 +02:00
|
|
|
|
2008-07-12 16:33:20 +02:00
|
|
|
# header1
|
2008-07-11 09:09:59 +02:00
|
|
|
|
2008-07-12 16:33:20 +02:00
|
|
|
content1
|
2008-07-10 21:02:25 +02:00
|
|
|
|
2008-07-12 16:33:20 +02:00
|
|
|
# header2
|
2008-07-10 21:02:25 +02:00
|
|
|
|
2008-07-21 13:46:47 +02:00
|
|
|
\[[!map pages="sandbox"]]
|
2008-07-10 21:02:25 +02:00
|
|
|
|
|
|
|
|
|
|
|
Removing the `\[[!toc]]` directive or moving it at the end of the page
|
|
|
|
makes the whole wiki page be rendered as expected.
|
|
|
|
|
|
|
|
Hint : in all cases, the non-interpreted markdown code is copied as-is
|
|
|
|
in the HTML output, without any leading `<p>` or any HTML formatting.
|
2008-07-12 16:40:31 +02:00
|
|
|
|
|
|
|
> You're using the old version of `markdown`, that is known to have a broken block
|
|
|
|
> html parser, that will get confused if markdown is present between two
|
|
|
|
> separate html blocks, and not format the markdown.
|
|
|
|
>
|
2008-07-21 13:31:04 +02:00
|
|
|
> This is fixed in [[!cpan Text::MarkDown]] 1.0.19. markdown 1.0.2 also
|
2008-07-12 16:40:31 +02:00
|
|
|
> fixes the problem. Install either one. I'm going to make ikiwiki's
|
|
|
|
> dependencies list Text::Markdown before markdown, since people keep
|
|
|
|
> stumbling over this. (The downside is that the old broken markdown is
|
|
|
|
> faster). --[[Joey]]
|
|
|
|
|
|
|
|
[[done]]
|