#NEWLINE# def test_TPMultiLineOptions( self ) : #NEWLINE# #INDENT# '\n        Try to parse multiple C{TP} fields, with options text on several lines.\n        ' #NEWLINE# inputLines = [ '.TH BAR "1" "Oct 2007" "" ""' , '.SH HEADER' , '.TP' , '\\fB-o\\fR, \\fB--option\\fR' , 'An option' , 'on two lines' , '.TP' , '\\fB-n\\fR, \\fB--another\\fR' , 'Another option' , 'on two lines' ] #NEWLINE# output = '<html><head>\n<title>BAR.1</title></head>\n<body>\n\n<h1>BAR.1</h1>\n\n<h2>HEADER</h2>\n\n<dl><dt><strong>-o</strong>, <strong>--option</strong>\n</dt><dd>An option\non two lines\n</dd>\n\n<dt><strong>-n</strong>, <strong>--another</strong>\n</dt><dd>Another option\non two lines\n</dd>\n\n</dl>\n\n</body>\n</html>\n' #NEWLINE# self . assertConvert ( inputLines , output )