> How about: > output = tag.span(class_="spoiler") >
Well... I guess I could do that... but that won't allow me to do something like: {{{ #!Spoiler This is a much bigger bit of spoiler info And it's a lot more complicated ||it||even||has|| ||a||table||inside|| }}} At least those are the kinds of behaviors I would like to be able to support. I'm guessing that since I'm using format_to_oneliner is why that table isn't actually working properly with my current implementation... Is there some way to determine whether the macro is being used inline ([[Spoiler(a spoiler)]]) vs as a preprocessor? And maybe that could determine whether a div or span is used? Ben -- 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.