Bug 147639 PDF output generated from document and report are different
Steps to reproduce: 1.Run the attached report with "run?" and "__format=pdf" 2.Run the attached report with "frameset" and "__format=pdf" Expected result: Two pdf output should be the same Actual result: 1.The page number of two output files are different 2.Page 12-13 of two output files are different
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
}
			
		}
	}
	
	/**
	 * Checks if the content inside the DOM should be escaped.
	 * 
	 * @param doc
	 *            the root of the DOM tree
	 * @return true if the content needs escaping, otherwise false.
	 */
	private boolean checkEscapeSpace( Node doc )
	{
		String textType = null;
		if ( doc != null && doc.getFirstChild( ) != null
				&& doc.getFirstChild( ) instanceof Element )
		{
			textType = ( (Element) doc.getFirstChild( ) )
					.getAttribute( "text-type" ); 
			return ( !TextParser.TEXT_TYPE_HTML.equalsIgnoreCase( textType ) );
		}
		return true;
	}
	
	
	/**
	 * Outputs the A element
	 * 
	 * @param ele