Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Comments on Digit followed by dot and space disappears at the beginning of comment.

Post

Digit followed by dot and space disappears at the beginning of comment.

+5
−0

If I try to start a comment with a digit followed by dot and space afterward, it is missing after I post it.

N.B. I hope this is the right place to write this kind of issues.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

fixed now (but forgot to update this post right away) (2 comments)
General comments (5 comments)
General comments
artaxerxe‭ wrote about 4 years ago
  1. Test comment starting with "1. " You can see that "1. " in the beginning isn't printed (at least it doesn't appear on my screen).
Moshi‭ wrote about 4 years ago · edited about 4 years ago
  1. test comment
    Edit: Reproduced
luap42‭ wrote about 4 years ago
testing whether this works

This looks like an interesting bug and I might have an idea what's the issue.

luap42‭ wrote about 4 years ago

Aye. So first of all this is a right place to write bug reports. If you want, you can also write on the per-community metas or on GitHub, but here's definitely fine. Furthermore, it appears that the issue isn't specifically with numbers followed by a dot but by everything that can cause Markdown to produce something (lists, headings, quotes, ...). The HTML is sanitized differently for comments, but Markdown doesn't know that and hence produces a list/header/comment.

luap42‭ wrote about 4 years ago

The sanitizer then removes the <blockquote> tag and hence it looks like the number (or dash or #) was removed. I think the right solution would be to make the Markdown generator know that we are in "inline Markdown" mode and hence not generate block-level stuff.