private static boolean isRemovableWhite ( AnalyzedTokenReadings token ) { return ( token . isWhitespace ( ) || StringTools . isNonBreakingWhitespace ( token . getToken ( ) ) ) && ! token . isLinebreak ( ) && ! token . getToken ( ) . equals ( "\t" ) && ! token . getToken ( ) . equals ( "\u200B" ) ; }
Removable white space are not linebreaks tabs functions or footnotes