AnsweredAssumed Answered

Blog Editor Strips Indentation/Spaces From Syntax Highlighter

Question asked by bixb0012 Champion on Nov 1, 2018
Latest reply on Jan 23, 2019 by bixb0012

I am having an issue where the blog editor is stripping indentation/spaces from code in the Syntax highlighter.  For example, the following:

looks like this after saving it as draft:

 

Notice that 1st tier indentation is going from 4 spaces to 1 space, and 2nd tier indentation is being remove entirely.

 

I have tried numerous things to force the formatting to stick, including editing the raw HTML and pasting it back into the editor, but the indentation continues to get messed up.  I have tried picking 'None' instead of 'Python' and the same thing happens.  I have tried using FireFox and Chrome, same issue.

 

Do others see this behavior with Syntax highlighting in blog posts?

Outcomes