Hard Wrapping using hardwrap.js for long words splits words

Hello!
I am using the hardwrap.js addon in a markdown editor and I’m invoking wrapRange with a hard wrap column of 80. If I have a long word with > 80 characters (which is common for URLs) I notice that wrapRange would split the word and alter the semantics of the document.

Q. Is there a way such words wouldn’t be split?

The behavior I’m expecting is: in such cases lines are allowed to overflow the 80 column limit.

Thanks in advance.

Looks like that doesn’t exist yet. It would be possible to add it as an option, if you want to open a pull request that implements that.