ikiwiki/doc/bugs/iniline_breaks_toc_plugin.mdwn

65 lines
1.5 KiB
Plaintext
Raw Normal View History

2007-08-29 16:27:55 +02:00
Hi, I try to make an example to reproduce some bug with inline and toc plugins.
2007-08-29 17:40:16 +02:00
My friend uses
\[[!inline pages="users/joey" raw="yes"]]
2007-08-29 17:40:16 +02:00
2007-08-29 16:27:55 +02:00
to include common snippets in various pages, and it works as advertised, but if toc plugin is used, page is messed up.
I'll try here to reproduce one example...
2007-08-29 17:38:36 +02:00
You can see that wikilink is rendered in one line and 'here's paragraph' is not a separate paragraph.
All this is displayed correctly if toc is removed.
2007-08-29 18:49:49 +02:00
> Thanks for the clear explanation and example. This is a bug in markdown.
> Version 1.0.1 gets confused by the toc div, which is followed by a few
> lines of markdown, and then by a second div for the inlined page. It
> doesn't convert the markdown in the middle to html.
>
> I've tested with markdown 1.0.2 and it seems to render this ok. 1.0.2 has
> a much improved parser, which is known to fix several block-related
> problems, including this one. It is currently packaged in experimental in
> Debian, and I suggest you give it a try if you're experiencing this
> problem.
>
2007-08-29 18:50:49 +02:00
> (Actually, this seems closely related to the problem described
> [here](http://bugs.debian.org/421843).
>
2007-08-29 18:49:49 +02:00
> I'm going to close this bug report since it's a markdown bug. --[[Joey]]
[[!tag done]]
2007-08-29 18:49:49 +02:00
2007-08-30 11:58:52 +02:00
>> thanks, that fixes it.
2007-08-29 17:38:36 +02:00
2007-08-29 16:17:16 +02:00
TEST1
=====
TEST2
-----
bla bla bla
* bl bla
* aadsd
[[!toc levels=2]]
2007-08-29 16:17:16 +02:00
bla bla
[[!table data="""
2007-08-29 16:24:00 +02:00
Customer|Amount
Fulanito|134,34
Menganito|234,56
Menganito|234,56
"""]]
2007-08-29 17:20:24 +02:00
[[wikilink|users]]
Here's a paragraph.
[[!inline pages="users/joey" raw="yes"]]
2007-08-29 16:17:16 +02:00
bla bla