]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/iniline_breaks_toc_plugin.mdwn
ikiwiki (3.20130711) unstable; urgency=low
[git.ikiwiki.info.git] / doc / bugs / iniline_breaks_toc_plugin.mdwn
1 Hi, I try to make an example to reproduce some bug with inline and toc plugins.
2 My friend uses
4     \[[!inline pages="users/joey" raw="yes"]]
6 to include common snippets in various pages, and it works as advertised, but if toc plugin is used, page is messed up.
8 I'll try here to reproduce one example...
10 You can see that wikilink is rendered in one line and 'here's paragraph' is not a separate paragraph.
12 All this is displayed correctly if toc is removed.
14 > Thanks for the clear explanation and example. This is a bug in markdown.
15 > Version 1.0.1 gets confused by the toc div, which is followed by a few
16 > lines of markdown, and then by a second div for the inlined page. It
17 > doesn't convert the markdown in the middle to html.
18
19 > I've tested with markdown 1.0.2 and it seems to render this ok. 1.0.2 has
20 > a much improved parser, which is known to fix several block-related
21 > problems, including this one. It is currently packaged in experimental in
22 > Debian, and I suggest you give it a try if you're experiencing this
23 > problem.
24
25 > (Actually, this seems closely related to the problem described
26 > [here](http://bugs.debian.org/421843).
27
28 > I'm going to close this bug report since it's a markdown bug. --[[Joey]]
29 [[!tag done]]
31 >> thanks, that fixes it.
34 TEST1
35 =====
37 TEST2
38 -----
40 bla bla bla
42  * bl bla
43  * aadsd
45 [[!toc levels=2]]
47 bla bla
49 [[!table data="""
50 Customer|Amount
51 Fulanito|134,34
52 Menganito|234,56
53 Menganito|234,56
54 """]]
57 [[wikilink|users]]
59 Here's a paragraph.
62 [[!inline pages="users/joey" raw="yes"]]
64 bla bla