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 Chett Phil 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
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.
Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.

AltStyle によって変換されたページ (->オリジナル) /