On 10/18/2010 02:46 PM, Itamar O wrote:
On Mon, Oct 18, 2010 at 10:24 PM, Scott Serr <[email protected] <mailto:[email protected]>> wrote:

     On 10/18/2010 12:19 PM, Ryan J Ollos wrote:

        serrs wrote:

            Now days trac is too smart and auto closes my tags so it
            doesn't
            affect the rest of the page. Is there a work around? is
            there a name
            for what trac is doing, so I can search on that?

        What's the advantage to doing as you describe rather than just
        putting all
        of your code withing the code block opening and closing
        brackets, `{{{` and
        `}}}`.


    Hi, thanks for replying.  I'll show you what I mean:

    {{{
    #!html
    <font size="+1">
    }}}

     * [wiki:PpAvailableApplications Available Applications]
     * [wiki:PpRemoteDisplay Remote Display]
     * [wiki:PpNotebookInstalls Notebook Installs]
     * [wiki:EngineeringImap Thunderbird Email on Linux]

    {{{
    #!html
    </font>
    }}}

    Assuming that the markup is making it through googlegroups ok, you
    can see it was convenient to let the wiki engine work on the block
    of code, but have a little more control over it.  Maybe there is a
    different wiki processor that is dumber.  What is happening right
    now is the #!html processor is putting it's own </font> at the end
    of the first }}} ... just after my explicit <font> tag.

    Thanks for any thoughts.


It would be irresponsible on behalf of Trac to easily let you produce "bad HTML" (you may easily forget the closing part).
Try this (or something similar):
{{{
#!div style="font-size:120%;"

 * [wiki:PpAvailableApplications Available Applications]
 * [wiki:PpRemoteDisplay Remote Display]
 * [wiki:PpNotebookInstalls Notebook Installs]
 * [wiki:EngineeringImap Thunderbird Email on Linux]

}}}

Itamar, thanks that worked great. I think a better name for the !#html processor would be !#safehtml :)


--
You received this message because you are subscribed to the Google Groups "Trac 
Users" 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/trac-users?hl=en.

Reply via email to