Class WhitespaceStripper


  • public class WhitespaceStripper
    extends Object
    Author:
    Torbjoern Gannholm
    • Constructor Detail

      • WhitespaceStripper

        public WhitespaceStripper()
    • Method Detail

      • stripInlineContent

        public static void stripInlineContent​(List inlineContent)
        Strips whitespace early in inline content generation. This can be done because "whitespage" does not ally to :first-line and :first-letter. For dynamic pseudo-classes we are allowed to choose which properties apply. NOTE: The inlineContent parameter may be modified
        Parameters:
        inlineContent - the inline content to strip the whitespaces on