Esempio n. 1
0
 def inline_insert_repl(self, stack, insert):
     if not stack.top_check('ins'):
         stack.push(moin_page.ins())
     else:
         stack.pop()
Esempio n. 2
0
 def inline_insert_repl(self, stack, insert):
     # creole docs suggest u, but ins is consistent with moinwiki and html5 ins/u docs
     if not stack.top_check('ins'):
         stack.push(moin_page.ins())
     else:
         stack.pop_name('ins')
Esempio n. 3
0
 def inline_underline_repl(self, stack, underline):
     if not stack.top_check('ins'):
         stack.push(moin_page.ins())
     else:
         stack.pop()