Code block not recognizing the include

Bugs » #14


This section on the Community is no longer supported, in favour of Wikidot's Official Feedback Site.

It is retained here for archiving purposes.

Posted by Phil ChettPhil Chett on 07 Jun 2008 11:14, last edited on 04 Mar 2009 09:36

This bug is open

Description

Using code block with include in a page : eg

[[code]]
[[include template:spoons]]
[[/code]]

should produce

[[include template:spoons]]

In a forum post, this works fine,
However in a Normal page
it produces

[[div class="error-block"]]
Included page "template:spoons" does not exist ([/template:spoons/edit/true create it now])
[[/div]]

Links

http://community.wikidot.com/forum/t-65103/code-block-not-recognizing-the-include-tag#post-184748

How to Reproduce

see above

Browsers

All

Workarounds

As a workaround to get the desired result, add a leading space in front of [[include ...]], like this:
[[code]]
. [[include template:spoons]]
[[/code]]

Here's the result:

 [[include template:spoons]]

Reported By

Alderman.

Rate this Bug

Rate the urgency of this bug. If you think it is more urgent and important than it's current rating suggests, rate it up.

rating: +4+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.