Author: jwm
Description:
Background: I'm using a global setting page for a news package, and one of the setting set on that page is the namespace for new news entries.
The news entry form is set up thus:
The problem is, the output form looks like this:
<p><input type="text" name="page_name" size="25" value="" class="formInput" />
<input type="hidden" name="form" value="CFFC News Entry">
<input type="hidden" name="namespace" value="				 					News" />
<input type="submit" value="Create or edit" /></p>
<p> </form>
All that leading noise in the namespace value results in a page name that can't be created.
The ideal solution would be to have #show, at least, strip leading and trailing white space, however that may have formatting consequences for people who've written, “some text{{#show: ...}}some other text”, and had white space inserted.
For the time being, a work around I'm using is to pack the #show inside padleft, with the padding set to zero:
Version: unspecified
Severity: minor