YAFLogo

Dimi
  • Dimi
  • 100% (Exalted)
  • YAF All-the-Time Topic Starter
12 years ago
I suppose the text inside
should be unchanged. But the forum deletes the breaks and the whole text appears on one line. How can I fix that?
Dimi
UserPostedImage
Sponsor

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
12 years ago
Originally Posted by: Dimi 

I suppose the text inside

[/code] should be unchanged. But the forum deletes the breaks and the whole text appears on one line. How can I fix that?[/quote]

Strange i cannot reproduce this...

[code]

sdf

sdf

sdf

sdf


sdf

But you should the use the new format with code highlighting like


sdf

sdf

sdf

sdf
Hyrum
  • Hyrum
  • 50.2% (Neutral)
  • YAF Forumling
10 years ago
I too have this problem, and I'm running the latest version 1.9.6.1

What happens is it puts all of my code into one line like this:

[ code=vb]If Something() Then DoThis() End If[ /code]

Also, if I force it to have line breaks, they get changed into
, being displayed like this:

If Something() Then

DoThis()

End If


Help!

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
Originally Posted by: Hyrum 

I too have this problem, and I'm running the latest version 1.9.6.1

What happens is it puts all of my code into one line like this:

[ code=vb]If Something() Then DoThis() End If[ /code]

Also, if I force it to have line breaks, they get changed into
, being displayed like this:

If Something() Then

DoThis()

End If


Help!



What editor are you using?

Hyrum
  • Hyrum
  • 50.2% (Neutral)
  • YAF Forumling
10 years ago
CKEditor 3.6.2 (revision 7275)
Hyrum
  • Hyrum
  • 50.2% (Neutral)
  • YAF Forumling
10 years ago
Any ideas on this? I would really like to take advantage of the code block. I would be more than happy to just replace a few of my .cs and/or .js files to get it to work.
tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 3.0.3
10 years ago
Originally Posted by: Hyrum 

Any ideas on this? I would really like to take advantage of the code block. I would be more than happy to just replace a few of my .cs and/or .js files to get it to work.



Took a few days to resolve, but it should be fixed now. You can grab the updated plugins including the latest editor Version 4.01 from the source repository.

http://yafnet.codeplex.com/SourceControl/BrowseLatest 

But it wont fix existing posts including code blocks.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button