fix: emoji replacement

This commit is contained in:
Anthony Fu 2022-12-27 21:42:58 +01:00
parent c19dd3ee0f
commit dc94d707b0
7 changed files with 40 additions and 4 deletions

View file

@ -54,6 +54,21 @@ exports[`html-parse > custom emoji > html 1`] = `
exports[`html-parse > custom emoji > text 1`] = `"Daniel Roe :nuxt:"`;
exports[`html-parse > emojis > html 1`] = `
"🇫🇷 👨<em-emoji native=\\"\\" fallback=\\"\\"></em-emoji>👩<em-emoji
native=\\"\\"
fallback=\\"\\"
></em-emoji
>👦 👩<em-emoji native=\\"\\" fallback=\\"\\"></em-emoji>🚒🧑🏽<em-emoji
native=\\"\\"
fallback=\\"\\"
></em-emoji
>🚀
"
`;
exports[`html-parse > emojis > text 1`] = `"🇫🇷 👨‍👩‍👦 👩‍🚒🧑🏽‍🚀"`;
exports[`html-parse > empty > html 1`] = `""`;
exports[`html-parse > empty > text 1`] = `""`;