<html><body><div>OK, I have read and understood this recipe - nicely done!</div><div><br></div><div>I've implemented it and set [@ @] to process {$var} and it does exactly what I expect. I did notice that if I nest variables {{$FullName}$:myvar} it doesn't do anything with the expression, but that shouldn't matter for my case. The only reason I discovered that is due to a general Page Text Variables problem.</div><div><br></div><div>On the <a data-mce-href="http://www.pmwiki.org/wiki/PmWiki/PageTextVariables" href="http://www.pmwiki.org/wiki/PmWiki/PageTextVariables">documentation page</a> there are several examples that seem to behave differently...</div><div><br></div><div style="padding-left: 24px; "><pre style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">(:Country: Transylvania :)
"{$:Country}"</pre><pre style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><br></pre><pre style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><span style="font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 19px; white-space: normal; ">"Transylvania "</span>
</pre></div><div><br></div><div>Note the trailing space produced inside the quotes. Yet...</div><div><br></div><div style="padding-left: 24px; "><pre style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; ">(:Lake:Taupo:)
->"{{$FullName}$:Lake}"</pre><pre style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><br></pre><pre style="font-size: 0.9em; font-family: 'Lucida Console', 'Andale Mono', 'Courier New', Courier, monospace; line-height: 1.2em; margin-top: 0px; margin-bottom: 0px; "><span style="font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 19px; white-space: normal; ">"Taupo"</span>
</pre></div><div><br></div><div>No trailing space!</div><div><br></div><div>I tried on my installation and whether I specify {$FullName} or not, I get the trailing space and I don't want it.</div><div><br></div><div>My usage is this:</div><div><br></div><div><div style="padding-left: 24px; ">(:rel:423:)</div><div style="padding-left: 24px; ">||[@RL{$:rel}OCF@]||to contain the control files||</div></div><div><br></div><div>Which should give (in a table)</div><div><br></div><div style="padding-left: 24px; ">RL423OCF   to contain the control files</div><div><br></div><div>But instead I get</div><div><br></div><div style="padding-left: 24px; ">RL423 OCF   to contain the control files
</div><div><br></div><div>That was inside the [@ @] markup but a quick test inside quotes in normal text shows the trailing space is always there.</div><div><br></div><div>Can this be fixed?</div><div><br></div><div><br><br>On 26 Sep, 2012,at 05:43 AM, Peter Bowers <pbowers@pobox.com> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote"><p>On Sep 25, 2012 8:17 AM, "Peter Bowers" <<a href="mailto:pbowers@pobox.com" data-mce-href="mailto:pbowers@pobox.com">pbowers@pobox.com</a>> wrote:</p><p>> I may or may not get get around to documenting this as a new recipe.<br> > If you feel like doing it yourself, feel free...</p><p>I went ahead & packaged it up:</p><p><a href="http://www.pmwiki.org/wiki/Cookbook/EscapedMarkup" data-mce-href="http://www.pmwiki.org/wiki/Cookbook/EscapedMarkup">http://www.pmwiki.org/wiki/Cookbook/EscapedMarkup</a></p><p>Enjoy!</p><p>-Peter</p></div></blockquote></div></body></html>