Quote marks in ListPages prependLine arguments cause errors selecting pages

Bugs » #31


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 David MarseillesDavid Marseilles on 15 Nov 2009 21:12, last edited on 12 Feb 2010 04:39

This bug has a workaround, but has not been fixed

Description

If you use prependLine or appendLine in Listpages, and include a module like [[gallery blah="blah"]] in prependLine, ListPages won't render. I gather it is interpreting the starting quote of the internal module quote as the ending quote of the prependLine argument.

How to Reproduce

See sandbox flickr for working example.

See below for example code blocks.




















Code block one returns "Error selecting page."

[[module ListPages category="flickr" limit="5" order="random" separate="no" prependLine="[[gallery size="square"]]" appendLine="[[/gallery]]"]]
: flickr:%%title%%
[[/module]]

Code block 2 works.

[[module ListPages category="flickr" limit="5" order="random" separate="no" prependLine="[[gallery]]" appendLine="[[/gallery]]"]]
: flickr:%%title%%
[[/module]]

Browsers

Has bug

Works correctly

Workarounds

Contact

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: 0+x
Add a New Comment
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.