# 聊天插件没有正确处理 backlash 转义字符

**URL:** https://meta.discourse.org/t/chat-plugin-doesnt-handle-backlash-escape-character-properly/335087
**Category:** Bug
**Tags:** chat, fixed
**Created:** [2024年十一月8日 02:34 UTC](https://meta.discourse.org/t/chat-plugin-doesnt-handle-backlash-escape-character-properly/335087 "2024-11-08T02:34:55Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![itsFufie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsfufie/32/462727_2.png) [@itsFufie](https://meta.discourse.org/u/itsFufie)
#### Post date: [2024年十一月8日 02:34 UTC](https://meta.discourse.org/t/chat-plugin-doesnt-handle-backlash-escape-character-properly/335087/1 "2024-11-08T02:34:56Z")

</div>

我不知道这是设计如此还是其他原因，但不知何故，在聊天中使用反斜杠作为转义字符不起作用

这是一个例子：

这里我可以做到：

```plaintext
*高亮* 
\\*高亮\\*

```

这给了我：

_高亮_  
\_高亮\_

但是当我尝试在聊天室中做同样的事情时，会发生这种情况：

 ![chat screenshot](https://global.discourse-cdn.com/meta/original/4X/0/f/0/0f0bc0e44981a16cc18f9b1dc76a64e4e4585ccb.png)

如果这是设计如此，那么正确的转义字符序列是什么？为什么它不是反斜杠？

---

_[View the full topic](https://meta.discourse.org/t/chat-plugin-doesnt-handle-backlash-escape-character-properly/335087)._
