I was trying to answer a coding question in Java. I had some code and used
<pre><code>, put my code in, then typed
</pre></code>. I then came across this error when trying to post:
Oops! Your edit couldn't be submitted because:
Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon.
It is properly formatted (at least by the preview it is), so how can I fix this? I'm new to Stack Overflow formatting.