Jump to content


Photo

Weird errors on tutorial editor


  • Please log in to reply
3 replies to this topic

#1 Encrypt

Encrypt

    Young Padawan

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Northern Ireland

Posted 03 November 2009 - 08:14 PM

Well, i edited my tutorial for the first time in around a year the other day to add my new alias and i just noticed today that the code is very messed up:

http://www.pixel2lif...mples_tutorial/

anytime i try to do a "\" character and save it in the editor, when published it doesn't show. It also removes
the "<stdio.h>" from every "#Include <stdio.h>" and i can't change the indentation of my code (check the first code sample for example)

i hope i just missed something that happened when the site got updated, or is this a bug?

edit: going to try just re-doing it by pasting it in and formatting the text all over again, will let you know how it goes.

edit2: still no luck, would appreciate feedback from a mod/admin.

Edited by Encrypt, 04 November 2009 - 03:12 PM.


#2 Faken

Faken

    Pimpmaster G

  • Admin
  • 5,966 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 08 November 2009 - 08:22 PM

I'll have Nick look in to this and provide some feedback, thanks!

#3 Faken

Faken

    Pimpmaster G

  • Admin
  • 5,966 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 08 November 2009 - 10:53 PM

OK you should be all set, please re-edit your tutorial, and make sure that all code is in standard code boxes. Please make sure you use the code boxes that are available through the editor, otherwise your code will not be formatted properly. Your slashes should save properly now.

Let me know if you run in to any more problems :angrylooking:

Thanks,
Dan

#4 Encrypt

Encrypt

    Young Padawan

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Location:Northern Ireland

Posted 16 December 2009 - 10:01 PM

i haven't been online recently to check, but i just tried out now and there is still a couple of problems.

this is what it looks like at the moment:

#include <stdio.h>

int main()
{
printf(\"Hello World\n\");
return 0;
}

what it should look like is:

#include <stdio.h>

int main()
{
	printf("Hello World\n");
	return 0;
}

for some reason it is adding extra slashes and also the code won't indent at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users