Bug 200302 Can not link to the specific bookmark as web view[04]
Description: Can not link to the specific bookmark as web view[04] Step: 1. Two labels, which have a page break between them. 2. The second label set the bookmark as "bk\\" 3. The first label set the hyperlink to the internal bookmark to the bookmark that is second label's. 4. Preview as web view and click the hyperlink Actual result: It can not link to the second label.( If use the drill-through, it is work. ) Expected result: It can link to the second label.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/utility/ParameterAccessor.java
{
		return webAppLocale;
	}
	/**
	 * This function is used to encode an ordinary string that may contain
	 * characters or more than one consecutive spaces for appropriate HTML
	 * display.
	 * 
	 * @param s
	 * @return String
	 */
	public static final String htmlEncode( String s )
	{
		String sHtmlEncoded = ""; 
		if ( s == null )
		{
			return null;
		}
		StringBuffer sbHtmlEncoded = new StringBuffer( );
		final char chrarry[] = s.toCharArray( );
		for ( int i = 0; i < chrarry.length; i++ )
		{
			char c = chrarry[i];
			switch ( c )
			{
				case '\t' :
					sbHtmlEncoded.append( "&#09;" ); 
					break;
				case '\n' :
					sbHtmlEncoded.append( "<br>" );