Exemple #1
0
 def inline_insert_repl(self, stack, insert):
     if not stack.top_check('ins'):
         stack.push(moin_page.ins())
     else:
         stack.pop()
Exemple #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')
Exemple #3
0
 def inline_underline_repl(self, stack, underline):
     if not stack.top_check('ins'):
         stack.push(moin_page.ins())
     else:
         stack.pop()