A few moments ago I encountered a pretty annoying bug with the code detection and the preview-function, when I wanted to post an answer. While the preview looked like this:
Some Title
code that was below the title
text explaining the code
using this text in my answer:
*Some Title*
--
code that was below the title
*text explaining the code*
It kept refusing to post the answer and telling me:
Your post appears to contain code that is not properly formatted as code. Please indent all code ...
Looking at the preview, everything looks fine and formatted as it should be.
What am I missing that causes this error and how should I resolve this error?