Bug 197742 Underline does not take effect when preview as POSTSCRIPT [1201]
Description: Underline does not take effect when preview as POSTSCRIPT. Build number: 2.2.1.v20070724-0630 Steps to reproduce: 1. Preview the attached design file as POSTSCRIPT. Expected result: "Additional Information" is underlined. Actual result: Underline does not take effect. Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/HTML2Content.java
else
			{
				setInlineParent( content, container, inlineParent );
				
				processNodes( ele, cssStyles, content, container, action );
			}
			
		}
	}
	
	/**
	 * 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 static 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;
	}