Changes
2 changed files (+9/-1)
-
-
@@ -123,7 +123,7 @@ })) const parseEmoji = regexp( /^:([^:<]+?):(:(skin-tone-.+?):)?/, /^:([^:<`*#@!\s]+):(:(skin-tone-.+?):)?/, (match, text, position) => { const [matchedText, name, _, variation] = match
-
-
-
@@ -51,3 +51,11 @@ ])) }) }) describe('#22', () => { it('doesnt match colons and new lines as emojis', () => { expect(parse('Test:\nTest 2:\nTest 3:')).toEqual( root([text('Test:\nTest 2:\nTest 3:')]) ) }) })
-