# Emojis trigger code detector and 'fix code' doesn't work

**URL:** https://meta.discourse.org/t/emojis-trigger-code-detector-and-fix-code-doesnt-work/319264
**Category:** UX
**Tags:** unformatted-code-detector, fixed
**Created:** [May 17, 2021, 7:41pm UTC](https://meta.discourse.org/t/emojis-trigger-code-detector-and-fix-code-doesnt-work/319264 "2021-05-17T19:41:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)
#### Post date: [May 17, 2021, 7:41pm UTC](https://meta.discourse.org/t/emojis-trigger-code-detector-and-fix-code-doesnt-work/319264/1 "2021-05-17T19:41:37Z")

</div>

I tried posting the following:

> That’s Japanese. 😉
> 
> Funny bug though.

Then I got a popup saying the post might contain code. I was curious, so I clicked the “Fix Code” button, but nothing actually happened. It’s not like the post even has anything resembling code anyway. So something seems a bit off on this.

(In fact, trying to post this topic made the same popup appear.)

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/5/a5d777944aa5daf289bc0ad2b79d4658c446067b.png)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [May 18, 2021, 8:40am UTC](https://meta.discourse.org/t/emojis-trigger-code-detector-and-fix-code-doesnt-work/319264/2 "2021-05-18T08:40:04Z")

</div>

Thanks @seanblue, we made a couple of tweaks based on this feedback. Emojis are now ignored:

[https://github.com/discourse/unformatted-code-detector/commit/a7fba3930258b24a8704e46dc5522e1e97fb5837](https://github.com/discourse/unformatted-code-detector/commit/a7fba3930258b24a8704e46dc5522e1e97fb5837)

And we also changed the “Fix Code” button to say “Edit Post”. The idea is that you should go back and manually fix your post - it will never be fixed automatically.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [July 30, 2024, 3:08pm UTC](https://meta.discourse.org/t/emojis-trigger-code-detector-and-fix-code-doesnt-work/319264/3 "2024-07-30T15:08:59Z")

</div>


