Bug 123388 Set html text, preivew in pdf, incorrectly.
Html text, preivew in pdf, incorrectly. Steps: 1.Drag a text into layout 2.Edit the text: <html>Our records indicate that several invoices are now past due. Below is a listing of outstanding invoices tatalling. Please let us know when we can expect receipt of these or if you have question or concerns. For a direct line call 604-893-6310. <br> <br> <br> Sincerely, <br> <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mark Elroy <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CEO, Xtreme Mountain Bikes <html> 3.Preview in pdf Actual Results: 1.Mutli <BR> only displyed one line. Expected Results: 1.Text can be displyed correctly in pdf.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java
MemberHandle hValue1 = ruleHandle
				.getMember( HighlightRule.VALUE1_MEMBER );
		MemberHandle hValue2 = ruleHandle
				.getMember( HighlightRule.VALUE2_MEMBER );
		MemberHandle hTestExpr = ruleHandle
				.getMember( HighlightRule.TEST_EXPR_MEMBER );
		String oper = hOperator.getStringValue( );
		String value1 = hValue1.getStringValue( );
		String value2 = hValue2.getStringValue( );
		String testExpr = hTestExpr.getStringValue( );
		rule.setExpression( oper, value1, value2 );
		if ( testExpr != null && testExpr.length( ) > 0 )
		{
			rule.setTestExpression( testExpr );
		} else if ( ( defaultStr != null ) && defaultStr.length( ) > 0 )
		{
			rule.setTestExpression( defaultStr );
		} else
		{
			
			return null;
		}
		
		
		StyleDeclaration style = new StyleDeclaration( cssEngine );
		setupStyle( ruleHandle, style );
		
		if ( style.isEmpty( ) )
		{
			return null;