[BUG]: Plain text with underscores or asterisks gets formatted as Markdown
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
The payload names no files or tests, so start in the Flutter client's message rendering path and find where Markdown is parsed for sent messages. Reproduce by sending a message with an unmatched underscore and a partial Markdown opener, which the report says gets formatted. Done means unclosed or stray markers render as plain text while complete Markdown still formats correctly. The issue has no agreed expected behaviour, so confirm the intended rule with the maintainers before changing the parser.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
Messages are rendered with MarkdownBody (flutter_markdown_plus). Ordinary text containing _, * or similar is sometimes treated as Markdown, e.g. snake_case_names, 2*3*4, or a lone _ at the start, so it shows up oddly formatted or with characters missing.
Steps to reproduce
- Send
my_file_name and other_file_name. - Send
2*3*4 = 24. - Send
_not closed.
What to do
- Find which inputs render incorrectly (add them to a widget test).
- Fix it, e.g. by restricting the Markdown extensions in use, requiring word boundaries for
_emphasis, or escaping unpaired markers before rendering. - Intentional Markdown (
**bold**,_italic_,`code`) must still work.
Where to look
mobile/lib/widgets/chat_page_widgets.dart (MarkdownBody around line 228, _markdownStyle).
- Ngôn ngữ chính
- Dart
- Star
- 9
- Fork
- 5
- Merge trung bình
- 49 phút
- Pull request đã merge (30 ngày)
- 34
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CommandLineCoding/Elephant
-
area: mobile chore good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
CommandLineCoding/Elephant#247 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile bug good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CommandLineCoding/Elephant#245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CommandLineCoding/Elephant#183 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile difficulty: medium enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
CommandLineCoding/Elephant#249 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: mobile chore difficulty: medium testing
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 66/100
CommandLineCoding/Elephant#248 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CommandLineCoding/Elephant
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
livekit/client-sdk-flutter#1281 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
android bug priority: P1 qa
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
GHRik/bielik_oneclick_launcher#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SchedulerBinding.requestPerformanceMode(mode) does not forward the requested mode to the engine.Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
carp demo apps enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
carp-dk/carp.sensing-flutter#670 ·
-
[BUG] IP 质量类型误判:ISP 静态段被显示为机房Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100