1 When trying to insert the raw content of an attached shell script
2 called `whatever` using:
4 \[[!inline pages="whatever" raw="yes"]]
6 The generated HTML contains:
8 \[[!inline Erreur: Can't call method "param" on an undefined value
9 at /usr/local/share/perl/5.10.0/IkiWiki/Plugin/inline.pm
12 Looking at the inline plugin's code, it is clear that `$template` is
13 undef in such a situation. Defining `$template` just before line 346,
14 in case it's not defined, removes the error message, but nothing
15 gets inlined as `get_inline_content` returns the empty string in
18 If we explicitely don't want to allow raw inlining of unknown page
19 types, ikiwiki should output a better error message.