Remove control characters from text input before converting it to a link. Fixes issue #8.