示例#1
0
 def br_is_read_as_line_break(self):
     break_element = xml_element("w:br", {}, [])
     result = _read_and_get_document_xml_element(break_element)
     assert_equal(result, documents.line_break())
示例#2
0
 def br_is_read_as_line_break(self):
     break_element = xml_element("w:br", {}, [])
     result = _read_and_get_document_xml_element(break_element)
     assert_equal(result, documents.line_break())
def line_break_is_converted_to_br():
    line_break = documents.line_break()
    result = convert_document_element_to_html(line_break)
    assert_equal("<br />", result.value)
示例#4
0
def line_break_is_converted_to_br():
    line_break = documents.line_break()
    result = convert_document_element_to_html(line_break)
    assert_equal("<br />", result.value)