AndydeCleyre / colorcodebot

A simple Telegram bot for syntax highlighting
Do What The F*ck You Want To Public License
45 stars 6 forks source link

Emojis missed in code to image #43

Closed FairyPenguin closed 1 year ago

FairyPenguin commented 1 year ago

When I post a code snippet with emojis the output image is missing those emojis

Example: `/* Panic function Write a PANIC! function. The function should take in a sentence and return the same sentence in all caps with an exclamation point (!) at the end. Use JavaScript's built in string methods.

If the string is a phrase or sentence, add a 😱 emoji in between each word.

Example input: "Hello" Example output: "HELLO!"

Example input: "I'm almost out of coffee" Example output: "I'M 😱 ALMOST 😱 OUT 😱 OF 😱 COFFEE!"

.split() .join() */

//Solution

// Test your function console.log(panic("I'm almost out of coffee")); console.log(panic("winter is coming")); console.log(panic("hello"));`

Output screenshot: image

AndydeCleyre commented 1 year ago

Thanks!

Please use markdown code fences in comments here to preserve your code. As it is, GitHub is rewriting your emojis, making it hard to copy and paste accurately.

I think this is now resolved with some changes I've just pushed and deployed. EMOJIWORK