There is a trick that might help. In BoltWire the ` symbol is used to
escape the next character. Since line returns mean nothing in the
final html, you can just escape the line return in the source, and the
line breaks disappear in the output.
That is, try something like this:
[if ! login]`
* [[{p}&action=login|login]]
* [[action.register|register]]
[else]`
* [[?{p}&action=view|view]]
* [[action.create|create]]
[if auth write check={p} && login]`
* [[{p}&action=edit|edit]]
* [[{p}&action=copy|copy]]
* [[{p}&action=rename|rename]]
* [[{p}&action=delete|delete]]
[if editor]`
* [[{p}&action=undo|undo]]
* [[{p}&action=source|source]]
* [[{p}&action=changes|changes]]
* [[{p}&action=data|data]]
* [[{p}&action=zones|zones]]
* [[site]]
* [[action.plugins|plugins]]
[if login]`
* [[{p}&action=title|title]]
* [[{p}&action=logout|logout]]
* [if][[{p}&action=search|search]]
* [[{p}&action=print|print]]
[if]
The html output will show the \n but not the <br />. Will this work for you?
There's also a <nolines>...</nolines> markup that might work for you
but it's sometimes a bit buggy. I will be working on how line returns
are handled sometime soon, but no promises as to when. Currently it's
inadequate for outputting perfect xhtml.
Cheers,
Dan
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---