config = array('AutoFormat.AutoParagraph' => true); } function test() { $this->assertResult( 'Foobar', '
Foobar
' ); $this->assertResult( 'Par 1 Par 1 still', 'Par 1 Par 1 still
' ); $this->assertResult( 'Par1 Par2', 'Par1
Par2
' ); $this->assertResult( 'Par1 Par2', 'Par1
Par2
' ); $this->assertResult( 'Par1 Par2', 'Par1
Par2
' ); $this->assertResult( 'Par1 Par2', 'Par1 Par2
' ); $this->assertResult( 'Par1Par2
', 'Par1
Par2
' ); $this->assertResult( 'Par1', 'Par1
' ); $this->assertResult( 'Par1 Par1' ); $this->assertResult( 'Par1 ', '
Par1
' ); $this->assertResult( 'Par1Par1
Par3
' ); $this->assertResult( 'Par1', 'Par1
' ); $this->assertResult( ' Par', 'Par
' ); $this->assertResult( ' Par ', 'Par
' ); $this->assertResult( 'Par1
Par2
Par1
Par2
Par1
Par2
Par1 Par2', true ); $this->assertResult( '
Foo Bar
Foo
Bar
Foo Bar
Foo
Bar
Par1 Par2', '
' ); $this->assertResult( 'Par1
Par2
Bar
Par1a
Par2
' ); $this->assertResult( 'Par1 Par2', 'Par1
Par2
' ); $this->assertResult( 'Par1 Par2', 'Par1
Par2
' ); $this->assertResult( 'Par1
Par1
Par1