Bug 152834 support HTML description of the template
The template descrition is a fragment of HTML, use that fragment to render the template in HTML.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
* @param foreignContent
	 */
	protected void processTemplateContent( IForeignContent foreignContent )
	{
		assert IForeignContent.TEMPLATE_TYPE.equals( foreignContent
				.getRawType( ) );
		if ( foreignContent.getGenerateBy( ) instanceof TextItemDesign )
		{
			TextItemDesign design = (TextItemDesign) foreignContent
					.getGenerateBy( );
			String text = localize( foreignContent, design.getTextKey( ),
					design.getText( ) );
			String textType = design.getTextType( );
			TextTemplate template = parseTemplate( text );
			HashMap values = new HashMap( );
			if ( foreignContent.getRawValue( ) instanceof HashMap )
			{
				values = (HashMap) foreignContent.getRawValue( );
			}
			String result = executeTemplate( template, values );
			String rawType = ForeignContent.getTextRawType( textType, result );
			assert IForeignContent.HTML_TYPE.equals( rawType );
			foreignContent.setRawType( IForeignContent.HTML_TYPE );
			foreignContent.setRawValue( result );
		}
	}
	protected String getOutputFormat()
	{
		return outputFormat;
	}