Apply changes that were made for Textual 5 by Codeux
Remove trailing whitespace
Updated preview