示例#1
0
 def visit_xhtml_br(self, element):
     """
     <br /> --> <line-break />
     """
     return moin_page.line_break()
示例#2
0
 def visit_br(self, element):
     return moin_page.line_break()
示例#3
0
 def inline_linebreak_repl(self, stack, linebreak):
     element = moin_page.line_break()
     stack.top_append(element)
示例#4
0
 def _BR_repl(self, args, text, context_block):
     if context_block:
         return
     return moin_page.line_break()
示例#5
0
 def inline_breakline_repl(self, stack, breakline):
     stack.top_append(moin_page.line_break())