Pasting code
-
When I paste code in my blog then it gets cut out or changed by itself. I have tried multiple methods like pre tag, code tag, etc but nothing is working. This problem occurs for both C and C++ codes, especially for if-else conditions.
-
Hi there,
On what site is this, and can you please give a link to a specific post where this is happening?
Are you using the editor at My Site ->Blog Posts or the editor in WP-Admin, and what exactly is changing? Does it change automatically when you save/update/publish, or does it only happen when switching between the visual and HTML views of the editor?
To fix something like this we need to be able to replicate the issue, so we need exact steps and as much detail as you can provide.
Have you followed our instructions for posting source code, here?
- The topic ‘Pasting code’ is closed to new replies.