>> In the meantime, this is an interesting approach:
>> <https://github.com/timo/ikiwiki/commit/a73837a8f26147e42a0bb2dde38b4890b27822b3>
>>
->> \[[!directive text=<<FOO
+>> \[[!directive text=\<\<FOO
>> ...
>> FOO]]
>>
>> So, I'm not sure what behavior that will cause, but I suspect it will
>> be a bug. Unless the `\s+|$' already stops matching at a newline within
>> the string like it's whitespace. That needs more alalysis.
+>> Update: seems it does, I'm fairly satisfied that is not a bug.
>>
>> Also, the patch seems incomplete, only patching the first regexp
>> but not the other two in the same function, which also are quoting-aware. --[[Joey]]