aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/ikiwiki_renders___39__28__39___if_external_plugins_return_nothing.mdwn
blob: 8d73dfa867bcd44e5bf8d4ebe43774ff3f791f48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
If the rst2html procedure of the rst external plugin returns None (e.g. when it throws an exception), then ikiwiki will render

    <div id="content">
    2/8
    </div>

In addition to the broken plugin, this seems like a bug in ikiwiki, which should probably output an informational message about the plugin returning an invalid value.

--[[madduck]]

> [[done]], I made it print the thrown error message to stderr, and return
> "", which seems better than dying of the thrown error entirely. --[[Joey]]