[Trac] Escaping underscores

Matthew Good trac at matt-good.net
Tue Jun 14 11:47:33 CDT 2005


On Tue, 2005-06-14 at 08:33 -0700, Peter Kropf wrote:
> I've tried that but what's displayed is !hpux with the hpux
> underlined. Should it work? Is this a bug in Trac? Or any other
> suggestions?

This is the expected behavior based on the wiki implementation.  The !
is used to escape links and macros.  The only place it escapes
formatting syntax is with !{{{ }}}.  Trying to use it for other
formatting tags would be awkward since you'd have to escape both the
opening and closing tags: !__init!__

In general I think that the places you'll encounter this is going to be
in code, so using {{{ }}} seems to be preferable.

-- 
Matthew Good <trac at matt-good.net>



More information about the Trac mailing list