On 7/5/2010 1:03 AM, Steffen Hoffmann wrote:
I figured out that using format_to_html() is a way, if not even the
preferred one, to transform wiki markup to HTML.

Since I want to convert ticket descriptions into HTML that will added to
a plugins output inside a span tag, I am stuck right now: output is
always wrapped by p tag, but that is not allowed inside span tag, and no
way to switch this undesired wrapping off in format_to_html().

If you want to wrap the text in a <span>, you want "inline" HTML anyway, so not format_to_html but format_to_oneliner.

-- Christian

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

Reply via email to