Modify dove-text-to-url to align to the change in end-of-string
also changed some document strings to improve Emacs syntax highlight