[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-users
Subject:    Re: [rt-users] brackets in RTFM
From:       Kevin Falcone <falcone () bestpractical ! com>
Date:       2009-12-29 21:33:46
Message-ID: 20091229213345.GA3556 () jibsheet ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, Dec 29, 2009 at 12:07:48PM -0800, David Griffith wrote:
> 
> I've tried all the wiki-ish ways of escaping brackets or generating them 
> some other way, but I can't get them to stay put.  I can simply do &nbsp;[ 
> &nbsp;] and this will produce a pair of brackets, but when I put something 
> inside, the brackets vanish.  Is anyone working on putting in RTFM a more 
> complete and less broken implementation of wiki markup?

This isn't RTFM, this is Text::WikiFormat which RT uses for Wikitext
custom fields. 

If you want literal text in your RTFM articles, don't use the wikitext
CF.

Documentation on how this wiki syntax works is here:
http://search.cpan.org/dist/Text-WikiFormat/

The wiki treats [foo] as special because 
share/html/Elements/ShowCustomFieldWikitext passes
extended => 1.  

You could override and remove that, you could add the snippet of code
from the docs which makes [[ ]] extended link syntax or you could pick
your favorite wiki formatter and slot it in as a custom CF type as an
extension.

-kevin

[Attachment #5 (application/pgp-signature)]

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic