Question
Hi All,
A small problem. I'm attempting to use the %EXPAND%
TWikiVariable to escape the characters in a file URL within a forced link.
- Example
-
%EXPAND{"file://a file with spaces.txt"}% - works just fine
[[%EXPAND{"file://a file with spaces.txt"}%][A sensible link name]] - does not work
Does TWiki expand variables first? If it does, how come this does not work?
Environment
| TWiki version: |
07 May 2004 |
| TWiki plugins: |
DefaultPlugin, SpreadSheetPlugin, ChildTopicTemplatePlugin, EditTablePlugin, InterwikiPlugin, ListMenuPlugin, NotificationPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TextSectionPlugin |
| Server OS: |
Fedora Core 2 |
| Web server: |
Apache/2.0.50 |
| Perl version: |
5.8.3 |
| Client OS: |
Windows 2000 |
| Web Browser: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 |
--
SimonTurvey - 23 Aug 2004
Answer
It's always nice when you can eventually answer your own question
The quotes in the %EXPAND{}% variable are not required!
--
SimonTurvey - 26 Aug 2004