@staticmethod
def pre_process_text_block(block):
    """Apply pre processing to text blocks.

        Currently just strips whitespace from the beginning
        and end of the block.
        """
    block['content'] = block['content'].strip()
