linkifyjs icon indicating copy to clipboard operation
linkifyjs copied to clipboard

is it a bug or supposed behaviour?

Open plandem opened this issue 3 years ago • 2 comments

https://github.com/Hypercontext/linkifyjs/blob/3eb5b8aacc286e57e220cd6ce2d9c139d96e7322/packages/linkifyjs/src/core/fsm.js#L79-L81

nextState.jr.append(templateState.jr);
nextState.jr = templateState.jd; // <- should not it be `nextState.jd` here?
nextState.t = token || templateState.t;

plandem avatar Apr 19 '22 23:04 plandem

Hi @plandem, great catch, this is a bug. It's fixed in the latest v4.0.0-beta.5 (install with npm install linkifyjs@beta)

nfrasser avatar Apr 23 '22 21:04 nfrasser

Is it possible to fix v3?

plandem avatar Apr 24 '22 04:04 plandem