Quantcast
Channel: Active questions tagged code-formatting - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 180

Edit shows expected code with a different format than what it really is

$
0
0

I'm using Google Chrome on Android 10 - Samsung Galaxy A30s.

When looking at this question

enter image description here

We can see the first code block has a specific indentation. Then, when clicking to edit

enter image description here

The expected result looks better (the ngOnInit appears closer to the edge than it really is).


Edit

Now when going through different answers in Google Chrome on my Windows 10 machine, found this answer with similar problem in the code.

When looking at the real answer there's an extra empty paragraph in the code

enter image description here

When we're editing, the expected result looks like this (it doesn't have that extra paragraph)

enter image description here


Viewing all articles
Browse latest Browse all 180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>