[pmwiki-users] brackets in wikistyles

Patrick R. Michaud pmichaud at pobox.com
Tue Oct 17 23:56:51 CDT 2006


On Mon, Oct 09, 2006 at 10:42:03PM -0500, Jon Haupt wrote:
> Hi there,
> 
> I was just noticing that it's impossible to use square brackets in
> wikistyles.  For example if I wanted this to appear in the resulting
> HTML:
> 
> <a href="image1.jpg" rel="lightbox[set1]"><img src="image1-s.jpg" /></a>
> 
> it seems like I want to do %rel=lightbox[set1]% but that doesn't work.
>  Neither does %rel='lightbox[set1]'%.  This particular use of square
> brackets is described here:
> 
> http://www.huddletogether.com/projects/lightbox2/
> 
> Is this impossible for some easily explained reason?  Would allowing
> this be a feature request, or is it simply not happening, or is it a
> bug, or am I just missing something?

I think it comes down to the fact that wikistyles don't really
understand square brackets.  There might be a local customization
that could be made to allow them, if you really want.

OTOH, I think that something such as rel='lightbox[set1]' could
be well outside of the XHTML spec.

> Another thing I noticed is that if rel="nofollow" is already set,
> using %rel=whatever% as a wikistyle has no effect.

Hmm, this sounds like a real bug.  Could you make a PITS entry for
it if there isn't already one there?

Thanks,

Pm




More information about the pmwiki-users mailing list