• 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    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

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WordPress removes leading spaces’ is closed to new replies.