New language definition for URLs
URLs are not English, or French . . . they need their own language setting because the rules for breaking them at the end of the line are unique to URLs and do not follow rules for other languages.
Currently we have to use Break and Nobreak character styles and the discretionary line break character to force the URLs to break before the punctuation instead of after it, and to not hyphenate strings of characters.
Adding these codes often messes up the ability to use various scripts or plugins to generate hyperlinks. If InDesign had a URL language, procedures that automatically add hyperlinks to URLs would work much better and save us a lot of time.
Lindsey Thomas Martin commented
Great idea. We probably need to write up a list of rules unique to HTMLs.