[rt-users] brackets in RTFM

Kevin Falcone falcone at bestpractical.com
Tue Dec 29 16:33:46 EST 2009


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  [ 
>  ] 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20091229/2e1a8a46/attachment.sig>


More information about the rt-users mailing list