Replace react-html-parser with html-to-react (#1327)

* Replace react-html-parser with html-to-react

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2021-06-18 23:26:36 +02:00 committed by GitHub
parent b13c1ce8a0
commit 82472227f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 329 additions and 167 deletions

View file

@ -144,7 +144,7 @@ describe('Autocompletion', () => {
.should('have.text', '# ')
cy.getMarkdownBody()
.find('h1 ')
.should('have.text', ' ')
.should('have.text', '\n ')
})
it('via doubleclick', () => {
cy.codemirrorFill('#')
@ -157,7 +157,7 @@ describe('Autocompletion', () => {
.should('have.text', '# ')
cy.getMarkdownBody()
.find('h1')
.should('have.text', ' ')
.should('have.text', '\n ')
})
})

View file

@ -6,7 +6,7 @@
describe('emojis', () => {
const HEDGEHOG_UNICODE_CHARACTER = '🦔'
const HEDGEHOG_UNICODE_CHARACTER = '\n🦔\n'
beforeEach(() => {
cy.visitTestEditor()