2009/2/10 The Editor <[email protected]>:
>
> Ok, I've been looking into this and the problem is this: the title
> action has a line like this:
>
> [text title "{:title}"]
>
> Page variables are substituted before form inputs so after the data
> var is substituted you have:
>
> [text title "[about] linly"]
>
> Now BoltWire sees the first ] and thinks it is the close of the text
> box... It is probable we could develop a better markup rule that would
> exclude the ] when it is between ' ' or " ", but it would not be easy
> for me. If anyone cares to take a stab, I'd gladly incorporate it.
> When I feel up to the challenge I may tackle it myself. Who knows,
> might not be that bad...
To me this points to a bigger underlying problem: namely the use of
[...] and {...} as markup. Basically Boltwire makes it very difficult
to use these two types of brackets in ordinary content. You get some
nice short markup like [c] and {var} at the big expense of excluding
these brackets for normal use, leaving an author with just one type,
(...), of brackets. This is a pretty severe restriction, and not at
all intuitive for an author.
A less aggressive approach for choosing markup for variables and form
elements would be better, IMHO.
Above the markup table it says that one can change any of the definitions.
I tried to change markup for variables from {var} to {$var}, which
totally broke the wiki. So it is not possible to make custom markup
changes for any markup in the table. I guess this is because in php
functions strpos and strstr etc are used to extract bits from a
variable, so a change like mine which introduces a new character will
break the string extraction.
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
-~----------~----~----~----~------~----~------~--~---