Notifications
Mark all as read
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.

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

+4
−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.

Why should this post be closed?

5 comments

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). artaxerxe‭ about 1 month ago

test comment Edit: Reproduced Moshi‭ about 1 month ago

testing whether this works This looks like an interesting bug and I might have an idea what's the issue. luap42‭ about 1 month 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‭ about 1 month 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. luap42‭ about 1 month ago

0 answers

Sign up to answer this question »