Skip to main content
waclawek.jan
Super User
July 15, 2023
Solved

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

  • July 15, 2023
  • 14 replies
  • 7759 views

waclawekjan_0-1689407200137.png

JW

 

    Best answer by Lina_DABASINSKAITE

    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

    14 replies

    Andrew Neil
    Super User
    October 30, 2024
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Tobe
    Senior III
    February 10, 2025

    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
    March 20, 2025

    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.
    Andrew Neil
    Super User
    March 20, 2025

    OK - here's some code:

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

    there was some code.

     

    Edited the post

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Andrew Neil
    Super User
    March 20, 2025

    @Lina_DABASINSKAITE indeed, that seems to have worked!

     

    Created a post:

    AndrewNeil_0-1742481655998.png

    Posted:

    AndrewNeil_1-1742481677795.png

    Edited the post:

    AndrewNeil_2-1742481699096.png

    Posted the edit:

    AndrewNeil_3-1742481719101.png

     

    No spurious blank lines!

     

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    Lead II
    March 20, 2025

    It seems like in addition to no new whitespace being added to new posts existing posts have been fixed too. They all look nice without extra whitespace.

    "Kudo posts if you have the same problem and kudo replies if the solution works.Click ""Accept as Solution"" if a reply solved your problem. If no solution was posted please answer with your own."