woutware
Member
Posted 3 years ago #
WordPress is removing leading spaces (at least when switching to full screen and back, and also when saving it seems). The leading spaces should be kept, because when inserting code blocks, the indentation is very important! Without the indentation the code block becomes very hard to read.
BTW, using the SyntaxHighlighter plugin.
Thanks!
Wout
You should be using CSS to indent your code blocks, not spaces. Unless you're talking about INSIDE the code block.
That is
This has no indentation
This is not indented
This is indented
mazdaspeed
Member
Posted 3 years ago #
I've noticed that if you're using your rss feed to publish content on another site, if you have extra spaces, it shows up as invalid characters. So, extra spaces are bad.