Bug 178740 Missing <a> element in dynamic text when publish to pdf
Steps to show the bug: 1 create a design file 2 add a dynamic text, input <code>Just a <a href="/text.html">Test</a></code> 3 publish it to PDF 4 open the pdf, you will get ONLY <code>Just a</code> Cause: In org.eclipse.birt.report.engine.layout.pdf.util.HTML2Content#handleElement when tagName is "a", only setParent function is called. Actually, the parent attribute of "container" is setted, but the "container" is not in the child list of that parent. So we will miss this ContainerContent. We can see <code>container.setParent(content);//FIXME addChild to replace?</code> there. I think add a sentence <code>addChild(content, container);</code> may solve this bug.
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
	 *            the A element instance
	 */
	protected void handleAnchor( Element ele, IContent content )
	{