private static final byte SPECCHAR_DRAWN_OBJECT = 8;
+ protected static final char UNICODECHAR_NO_BREAK_SPACE = '\u00a0';
+
protected static final char UNICODECHAR_NONBREAKING_HYPHEN = '\u2011';
protected static final char UNICODECHAR_ZERO_WIDTH_SPACE = '\u200b';
pElement.appendChild( span );
Text textNode = htmlDocumentFacade.createText( bulletText
- .substring( 0, bulletText.length() - 1 ) );
+ .substring( 0, bulletText.length() - 1 )
+ + UNICODECHAR_ZERO_WIDTH_SPACE
+ + UNICODECHAR_NO_BREAK_SPACE );
span.appendChild( textNode );
}
else
tableElement
.setAttribute(
"class",
- htmlDocumentFacade.getOrCreateCssClass(
- "t", "table-layout:fixed;border-collapse:collapse;border-spacing:0;" ) );
+ htmlDocumentFacade
+ .getOrCreateCssClass( "t",
+ "table-layout:fixed;border-collapse:collapse;border-spacing:0;" ) );
if ( tableHeader.hasChildNodes() )
{
tableElement.appendChild( tableHeader );