You are reading a single comment by @slippers and its replies. Click here to read the full conversation.
  • Very hard for me to guess things based on assuming what you've seen. I am simply saying that those characters are valid, desired even, and represent whitespace in the URL which is invalid.

  • Not applicable to this case, but the addition of the ­ character in URL text probably isn't needed anymore with:

    a {
        word-break: break-word;
        hyphens: auto;
    }
    

    I'm not sure if microcosm applies the same logic to all URL strings or just those with long strings of non-spaced text, but this should work with normal sentence links too, since it should split on the spaces first, only falling back to breaking long words when there's no other opportunity.

  • just applies it to all text TBH.

    agreed it's probably no longer needed, I haven't tried it recently (last 5 years).

    when originally added, a decade ago, the support for word-break was inconsistent and experimental. when it worked it tended to be too aggressive, breaking words when wrapping and leaving some whitespace would be better. I added the ­ so that I could avoid all of the aggressive breaking of words, and still avoid breaking layout due to lack of breaking on long strings... long strings because URLs are just one example, gibberish long strings also broke layout (and on vBulletin was always a way someone could troll a page)

    Edit: oh... we do the breaking of long words every 40 characters in HTML Text nodes. it's not applied to anything within HTML.

About

Avatar for slippers @slippers started