element-hq / element-hq/element-web
Markdown parsing failure involving dash (`-`) and escaped underscore (`\_`)
- 主要言語
- TypeScript
- スター
- 13.5k
- フォーク
- 2.8k
- PR マージ指標
- PR 指標を取得中
説明
### Steps to reproduce
1. Input
```
-
\_
```
2. Send
3. Message that gets sent: `
Another case:
```
a
a -> b
\_
```
results in a single collapsed paragraph:
```
a a -> b _
```
### Outcome
#### What did you expect?
Message should be sent as is.
#### What happened instead?
Message is corrupted.
### Operating system
Arch Linux
### Application version
Element version: 1.11.86 Crypto version: Rust SDK 0.7.2 (517d99b), Vodozemac 0.7.0
### How did you install the app?
Arch Linux repo
### Homeserver
termina.org.uk
### Will you send logs?
No
コントリビューションガイド
調査の方向性
Element Web で両方の Markdown 入力を再現し、レンダリングされたメッセージと送信されたメッセージを期待されるテキストと比較します。リストマーカー、エスケープされたアンダースコア、折りたたまれた段落を担当する Markdown の解析パスを追跡します。両方の例が HTML やフォーマットを壊すことなく変更なしで送信されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100