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

				}
				setActiveIDTypeIID(image);				
				setBookmark( HTMLTags.ATTR_IMAGE, bookmark ); 
			}
		}		
		String tag = openTagByType( display, DISPLAY_BLOCK );
		 action
		boolean hasAction = handleAction( image.getHyperlinkAction( ) );
		String imgUri = getImageURI( image );
		boolean useSVG = (( image.getMIMEType( ) != null )
				&& image.getMIMEType( ).equalsIgnoreCase( "imagesvg+xml" )) 
				|| (( image.getExtension( ) != null )
				&& image.getExtension( ).equalsIgnoreCase( ".svg" )) 
				|| (( image.getURI( ) != null )
				&& image.getURI( ).toLowerCase( ).endsWith( ".svg" )); 
		 ( useSVG )
		{  use svg
			r.openTag( HTMLTags.TAG_EMBED );
			
			String bookmark = image.getBookmark( );				
			
			 ( !isSelectHandleTableChart )
			{
				 ( bookmark == null )
				{
					bookmark = generateUniqueID( );
					image.setBookmark( bookmark );
				}
				outputBookmark( image, HTMLTags.ATTR_IMAGE ); 
			}
				onresize gives the SVG a change to change its content
			r.attribute( "onresize", bookmark+".reload()"); 
			
			r.attribute( HTMLTags.ATTR_TYPE, "imagesvg+xml" ); 
			r.attribute( HTMLTags.ATTR_SRC, imgUri );			
			 alternative text
			String altText = image.getAltText( );
			 ( altText == null )
			{
				r.attributeAllowEmpty( HTMLTags.ATTR_ALT, "" );
			}
			else
			{
				r.attribute( HTMLTags.ATTR_ALT, altText );
			}
			
			setStyleName( image.getStyleClass( ) );
			setDisplayProperty( display, 0, styleBuffer );
			 build size
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_WIDTH, image
					.getW( ) ); 
			AttributeBuilder.buildSize( styleBuffer, HTMLTags.ATTR_HEIGHT, image
					.getHeight( ) ); 
			 handle inline style
			handleStyle( image, styleBuffer, false );
			r.closeNoEndTag( );
		}
		else
		{  use img
			  image map  necessary
			Object imageMapObject = image.getImageMap( );
			 use imgUri as the image ID. As we know only the CHART can have
			 image maps and each chart
			 will have dfernt URI, so it is safe for CHART. (If the named
			 im