Single line codeblocks trim trailing spaces
-
var i = 0;
<= no trailing spaces
var i = 0;
<= 5 trailing spaces
-
Correct me if I'm wrong, but isn't that an HTML thing?
-
@RaceProUK said:
Correct me if I'm wrong, but isn't that an HTML thing?
Why would it be?
Discourse does it right.HTML source inside Discourse editor preview:
<p><code>var i = 0;</code> <= no trailing spaces<br><code>var i = 0; </code> <= 5 trailing spaces</p>
-
Ah, you mean spaces inside code blocks; I thought you meant outside