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.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java
(" );
					buffer.append( value );
					buffer.append( ")" );
				}
				else
				{
					buffer.append( value.replaceAll( " ", "" ) );
				}
				buffer.append( ";" );
			}
			 ( buffer.length( ) != 0 )
			{
				r.attribute( "style", buffer.toString( ) );
			}
		}
	}
	public void endNode( Node node )
	{
		r.closeTag( node.getNodeName( ) );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startLabel(org.eclipse.birt.report.engine.content.ILabelContent)
	 *
	public void startLabel( ILabelContent label )
	{
		String bookmark = label.getBookmark( );
		 ( bookmark == null ) 
		{
			bookmark = generateUniqueID( );
			label.setBookmark( bookmark );
		}
		startText( label );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startData(org.eclipse.birt.report.engine.content.IDataContent)
	 *
	public void startData( IDataContent data )
	{
		startText( data );
	}
	*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.report.engine.emitter.IContentEmitter#startImage(org.eclipse.birt.report.engine.content.IImageContent)
	 *
	public void startImage( IImageContent image )
	{
		assert image != null;
		IStyle mergedStyle = image.getStyle( );
		 ( peek( mergedStyle ) )
		{
			return;
		}
		logger.log( Level.FINE, "[HTMLImageEmitter] Start image" );  
		Object generateBy = image.getGenerateBy( );
		
		StringBuffer styleBuffer = new StringBuffer( );
		int display = checkElementType( image.getX( ), image.getY( ),
				mergedStyle, styleBuffer );
		boolean isSelectHandleTableChart = false;
		 ( enableMetadata  )
		{
			 ( generateBy instanceof ExtendedItemDesign )
			{
				startSelectHandle( display, DISPLAY_BLOCK, "birt-chart-design" ); 
				isSelectHandleTableChart = true;
				 If the image is a chart, add it to active id list, and output type ��iid to html
				String bookmark = image.getBookmark( );				
				 ( bookmark == null )
				{
					bookmark = generateUniqueID( );
					image.setBookmark( bookmark );