Jump to content
Banner by ~ The Wife of Douma
  • 0

Code boxes losing linebreaks


Sairoch
 Share

Question

For some reason, code box elements are losing linebreaks. The code seems to show up properly at first, and then at some point it just collapses down to a single line. Editing the post it's in seems to fix it temporarily.

 

You can see it here:

http://mlpforums.com/topic/60233-any-other-computer-science-bronies-around/?p=1461805

 

Or here (the linebreaks are still appearing at the time I'm making this edit):

#include <iostream>

int main() {
    for(int i = 1; i <= 100; i++) {
        if(!(i % 3))
            std::cout << "Fizz";
        if(!(i % 5))
            std::cout << "Buzz";
        if((i % 3) && (i % 5))
            std::cout << i;
        std::cout << std::endl;
    }
}

Link to comment
Share on other sites


1 answer to this question

Recommended Posts

  • 0

This topic concerns a technical or general issue that is better suited for an admin to handle, due to its' complicated or private nature. It is thus better suited as a Support Ticket.

 

This is an automatically generated message, by the way.

  • Brohoof 1
Link to comment
Share on other sites

Badges

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...