cancel
Showing results for 
Search instead for 
Did you mean: 

Don't litter posts with whitespace (empty paragraphs inserted around code blocks)

waclawekjan_0-1689407200137.png

JW

 

32 REPLIES 32

Hi @Andrew Neil 

We have been investigating this issue for some time and indeed the <p>&nbsp;</p> in the HTML code seems to add itself in. 

It can be "hot-fixed" by adding a <div> (text) </div> between the text. This also applies to code blocks that are facing issues. We are still researching a complete fix, so I cannot give you a time frame at this point.  

Best regards,
Laurids

And the SHIFT-SHIFT-EIGHT / GT-GT-EIGHT breaking things, I reported elsewhere, impacts both source code block panes, and primary post texts.

Honestly we don't need to be breaking stuff to support f***ing emoji's !!

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

15 MONTHS on this is STILL BROKEN

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Tobe
Senior III

After editing the following post, there are newlines added:

https://community.st.com/t5/stm32-mcus-products/my-micros-function-is-not-glitchfree/td-p/736780

They get added on every edit.

Thanks for reporting this, but ST already knows.

JW

Tobe
Senior III

It is still annoying...

WHEN will it be fixed?

It cant be that difficult. Its just text and some html elements!!!

Lina_DABASINSKAITE
Community manager
Community manager

Dear @waclawek.jan , all, 

It's been a while since we updated on this topic, but finally I can get back with good news!

The fix of this behavior is now completed and no more white spacing should appear around the code blocks. 

Feel free to test it on your end and let me know if you still face it. 

I apologize for it taking so long to be fixed and the inconveniences you faced in this time. 

Regards,
Lina

​
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

OK - here's some code:

int main( void ) { printf( "Hello, code editor!\n" ); }

there was some code.

 

Edited the post