mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-28 05:54:43 -04:00
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:
parent
b13c1ce8a0
commit
82472227f9
31 changed files with 329 additions and 167 deletions
|
@ -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 ')
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
describe('emojis', () => {
|
||||
|
||||
const HEDGEHOG_UNICODE_CHARACTER = '🦔'
|
||||
const HEDGEHOG_UNICODE_CHARACTER = '\n🦔\n'
|
||||
|
||||
beforeEach(() => {
|
||||
cy.visitTestEditor()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue