Jump to content
Banner by ~ Ice Princess Silky

resolved Code boxes losing linebreaks


Sairoch

Recommended Posts

(edited)

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;
    }
}

Edited by The Wife of Law
Link to comment
Share on other sites

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...