Ikiwiki's preprocessor parser cannot deal with arbitrary nested preprocesor directives. It's possible to nest a directive with single quoted values inside a triple-quoted value of a directive, but that's all. It's not possible to unambiguously parse nested quotes, so to support nesting, a new syntax would be needed. Maybe something xml-like? > You can, however, unambiguously parse nested square brackets, and I think > that would solve the problem, as long as you never allow the contents of a > directive to contain a *partial* directive, which seems reasonable to me. > > For example, I *think* you can unambiguously parse the following: > > \[[if test="enabled(template) and templates/foo" then=""" > [[template id=foo content="""Flying Purple People Eater"""]] > """]] > > --[[JoshTriplett]] d>
Unnamed repository; edit this file 'description' to name the repository.Jonas Smedegaard
summaryrefslogtreecommitdiff
path: root/tags/41/71/20170214053440.54B21358D@lxp5.free-owl.de/sys
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
committerJonas Smedegaard <dr@jones.dk>2023-06-27 09:35:08 +0200
commitfd54908da2b05c526dd3bee9b6dcd093214a220d (patch)
treec69c845069c99d1d01044f6fafda7c08433329c6 /tags/41/71/20170214053440.54B21358D@lxp5.free-owl.de/sys
parentba46132213560cf3335d53560d519c0ec0190da2 (diff)
master
Diffstat (limited to 'tags/41/71/20170214053440.54B21358D@lxp5.free-owl.de/sys')
-rw-r--r--tags/41/71/20170214053440.54B21358D@lxp5.free-owl.de/sys0
1 files changed, 0 insertions, 0 deletions