1

I am editing one of my questions on Stack Overflow. It raises an error:

Your post appears to contain code that is not properly formatted as code.

After some digging, I find it is about this text:
(Do not omit the 2 white spaces at end of line.)

A1, frame = 3187, time = 10.00139
A2, frame = 6495, time = 20.0001
A1, frame = 6496, time = 20.00392
A1, frame = 4534, time = 30.00224

This problem only occurs when editing questions. If I'm asking a new question, it will not raise error.

I tested this text by trying to edit three questions.
If I paste this text on the end of the question, it will raise the error.
If I delete all the text and then paste this text, it will also raise the error.

I think it is a bug.
I don't know any Markdown syntax treating the text as code.

5
  • 1
    You would not have the message if have formatted that text as quote. Because it is
    – Vega
    Oct 8, 2021 at 10:01
  • 1
    I don't think it is a bug but I give you the error message and guidance we have on that quality feature is sparse if not lacking . Use code markup and or code fences if you have output to share that contains punctuation characters.
    – rene
    Oct 8, 2021 at 10:02
  • @rene OK, I will use code fences next time. Oct 8, 2021 at 10:14
  • 3
    @rene The error message is misleading, it confused me for an hour. According to the message, I thought there is something wrong in code text. I checked it again and again and found nothing. Finally I tried deleting each part of text one by one, and found the part that causes the error. Oct 8, 2021 at 10:20
  • 6
    Yeah, that is unfortunately the technique I also use to diagnose these errors. Far from optimal for both the OP and those users on meta that try to support these problems.
    – rene
    Oct 8, 2021 at 10:48

0

You must log in to answer this question.

Browse other questions tagged .