On 2011-07-27 at 23:39:21, Helend wrote: > Hi All, > > There is a string like this: > > string = 'The definition about CO<sub>2</sub> can be found CarbonDioxide > ' > > I expect format this string firstly as HTML to show CO<sub>2</sub> > correctly, then format it as WIKI to create a link to WIKI page > CarbonDioxide. > > Currently, I use function "format_to_oneliner" to format as WIKI. Is > there a function to format it as HTML?
There are ways to add HTML to wiki pages (I don't use them, but I know they exist) but wouldn't "CO,,2,," work in this case? -- You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to trac-dev@googlegroups.com. To unsubscribe from this group, send email to trac-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en.