You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix duplicate links in markdown import (sstur#161)
* Add failing test for duplicate link
`draft-js-import-markdown` does not correctly handle the case where two links to the same src are in a line.
* Fix link parsing in markdown
This updates the _href regex to the new version from the marked codebase
to fix the bug with two links in a line: https://github.com/markedjs/marked/blob/c77a2244ab5d4a0e1dec0979a51b80df87ec6409/lib/marked.js#L574
* Fix lint warnings
0 commit comments