What happens: When I type an URL from the beginning of a line and keep hitting spaces afterwards, a mixture of
and actual spaces got appended within the
span.cm-url class, until I write a letter, which stops this, but the span class still includes the spaces. Mid-line, “only” a single space is added, no matter how many spaces I add after the URL. (Tested without a custom theme, too.)
What I expect: After typing a URL, when typing space, it should stop recognising the text as URL.