Fixes handling of empty lines in CTLine example