sstur / draft-js-utils

DraftJS: import/export ContentState to and from HTML/Markdown
ISC License
883 stars 233 forks source link

Fix markdown parsing for italic #254

Closed msglifeIberia closed 2 years ago

msglifeIberia commented 2 years ago

Fixes #251:

  1. Changed regex to support issue described in #251
  2. Add tests for italic and bold markdown characters
MSGInsurIt commented 2 years ago

@sstur, Is a new release going to be created for this fix?

sstur commented 2 years ago

Done. draft-js-utils@1.4.1 is published.

MSGInsurIt commented 1 year ago

@sstur will you be merging this code again... The safari release has been created with the support for negative lookbehind expressions:

Negative lookbehind assertion It's working now in Release 161 of Safari Technology Preview, downloads are here: [https://developer.apple.com/safari/resources/] Safari Technology preview 161 Although it didn't make the cut for the release notes!