# 引用の直後に\<Enter\>で追加された一部の絵文字は引用を壊します

**URL:** https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219
**Category:** Bug
**Tags:** emoji
**Created:** [2023 年 2 月 25 日午前 3:04 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219 "2023-02-25T03:04:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [2023 年 2 月 25 日午前 3:04 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/1 "2023-02-25T03:04:34Z")

</div>

こんにちは、引用符の直後に絵文字の自動補完メニューから`<Enter>`を使用して絵文字を追加すると、引用符のヘッダーの開き括弧`[`が絵文字に置き換わり、引用符が壊れる再現可能なバグがあります。

これは、Linux上のChromiumとFirefoxのDiscourse Metaで発生します。  
一部の絵文字でのみ発生し、最も一般的なのは`:(`と`:/`です。

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [2023 年 2 月 25 日午前 3:04 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/2 "2023-02-25T03:04:53Z")

</div>

😕 quote="rahim123, post:1, topic:256219"]\nこんにちは。引用符の直後に絵文字の自動補完メニューから絵文字を追加すると、引用符ヘッダーの開始角括弧 `[` が絵文字に置き換わり、引用符が壊れるという再現可能なバグがあります。\n[/quote]\n\n:/

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2023 年 2 月 25 日午前 3:19 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/3 "2023-02-25T03:19:32Z")

</div>

絵文字を選択する直前のビデオまたはスクリーンショットでデモンストレーションしていただけますか？

---

<div class="post-metadata">

### Author: ![rahim123](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rahim123](https://meta.discourse.org/u/rahim123)
#### Post date: [2023 年 2 月 25 日午前 3:37 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/4 "2023-02-25T03:37:05Z")

</div>

![Screenshot from 2023-02-24 22-36-25](https://global.discourse-cdn.com/meta/original/4X/2/6/a/26a2eabadb1d4c19dca39169558714ea81aca2dd.png)

---

<div class="post-metadata">

### Author: ![supermathie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/supermathie/32/507518_2.png) [@supermathie](https://meta.discourse.org/u/supermathie)
#### Post date: [2023 年 2 月 25 日午前 3:59 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/5 "2023-02-25T03:59:35Z")

</div>

はい！確認しました。よく見つけましたね。

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2023 年 2 月 27 日午前 4:41 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/7 "2023-02-27T04:41:10Z")

</div>

レポートありがとうございます。

これは確かに難しい問題ですね。以下の修正後、対応します。

> <https://github.com/discourse/discourse/pull/20461>
>
> Composer was not completing :( (sad face) correctly given guessing of term
> was n…ot allowing for special chars.
> 
> New algorithm allows everything but space.
> 
> see: https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2023 年 3 月 3 日午前 10:54 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/8 "2023-03-03T10:54:54Z")

</div>

修正されたため、クローズします 👍

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2023 年 3 月 3 日午前 10:54 UTC](https://meta.discourse.org/t/some-emojis-added-with-enter-immediately-following-a-quote-will-break-the-quote/256219/9 "2023-03-03T10:54:57Z")

</div>


