Dan - your suggestion using backticks to escape linebreaks doe snot work.
Please see http://www.boltwire.com/index.php?p=test.conditonals_and_linebreaks

The page renders as

[if ! (! login)]
* view
* create
* edit
* copy
* rename
* delete
[if editor]
* undo
* source
* changes
* data
* zones
* site
* plugins
[if login]
* title
* logout
* search
* print

Below is the HTML source for the 'main' td cell. I just added some
linebreaks to make it readable, and shortened the http:// paths. BTW,
the HTML source is a pain to read 'raw' because there are hardly any
line breaks!

<td valign='top' width='100%'>
   <div id='main'>
      <div  style=' text-align: right;  float: right; '>
         <a name='top'></a></div><h1>Conditonals_and_linebreaks</h1><p />
            [if ! (! login)]
            <ul><li><a
href=".....conditonals_and_linebreaks&amp;action=view" >view</a>
               </li><li><a href=".....index.php?p=action.create"
>create</a></li></ul>
            <ul><li><a
href=".....conditonals_and_linebreaks&amp;action=edit" >edit</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=copy" >copy</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=rename"
>rename</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=delete"
>delete</a></li></ul>
            [if editor]
            <ul><li><a
href=".....conditonals_and_linebreaks&amp;action=undo" >undo</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=source"
>source</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=changes"
>changes</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=data" >data</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=zones"
>zones</a></li>
               <li><a href=".....index.php?p=site" >site</a></li>
               <li><a href=".....index.php?p=action.plugins"
>plugins</a></li></ul>
            [if login]
            <ul><li><a
href=".....conditonals_and_linebreaks&amp;action=title"
>title</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=logout"
>logout</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=search"
>search</a></li>
               <li><a
href=".....conditonals_and_linebreaks&amp;action=print"
>print</a></li></ul>
      </div>
   <br />
</td>

You see that the list is broken into a number of lists by the
non-rendered conditionals.
It is also broken by the apparently rendered conditional [if auth
write check={p} && login]` after the 'create' link.

A successful rendering and evaluation of the conditionals should
output just one <ul> ... </ul> list.

Cheers,
~Hans

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to