178 | | def expand_macro(self, formatter, name, text, args): |
179 | | text = "whatever '''wiki''' markup you want, even containing other macros" |
180 | | # Convert Wiki markup to HTML, new style |
181 | | out = StringIO.StringIO() |
182 | | Formatter(self.env, formatter.context).format(text, out) |
183 | | return Markup(out.getvalue()) |
| 178 | def expand_macro(self, formatter, name, text, args): |
| 179 | text = "whatever '''wiki''' markup you want, even containing other macros" |
| 180 | # Convert Wiki markup to HTML, new style |
| 181 | out = StringIO.StringIO() |
| 182 | Formatter(self.env, formatter.context).format(text, out) |
| 183 | return Markup(out.getvalue()) |