aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Weird_interaction_between_toc_plugin_and_page_sections.mdwn
blob: c6c2fe3ff2675d83d76ebb0708de24ca0ba4efd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[[!meta title="Weird interaction between toc plugin and markdown that follows"]]

<http://vcs-pkg.org/people/> goes really weird when I enable the `toc` plugin. It renders the page sections fine without it, but as soon as I turn it on, the following output is generated:

    \[[!meta  title="My Name"]]

      1. Fedora
      2. Ubuntu
      3. People grouped by version control system
      4. GNU Arch (tla/baz)
      5. Bazaar-NG
      6. Git users
      7. Mercurial
      8. Subversion
      9. Everyone, sorted by first name

    People grouped by distro ======================== Debian ––

        * jelmer
        * madduck

    Fedora

I have no idea what's eating the first two headers. But as you can see from the current page, it's not just headers by any markdown...

--[[madduck]]

> This is a markdown bug. It occurs with 1.0.1, but not with the 1.0.2
> beta. Apparently markdown is getting confused by the div inserted for the
> toc, not realizing that it has ended, and so not marking up the text as
> markdown. 1.0.2 fixes many such div-related markdown bugs. I have to call
> this [[done]] since it's not an ikiwiki bug, recommend upgrading markdown
> if the slower speed of 1.0.2 doesn't hurt too badly. --[[Joey]]