Jump to content

Cannot place CODE tag inside a SPOILER


Reginald_001

Recommended Posts

Posted

As the title says, it's impossible to put code inside a spoiler tag.

I am using Firefox on Win 10:

 

image.png.fc74afeb2c6a2464a38a1de0c7650204.png

 

This is what it looks like in the editor:

image.png.488bcc5ecb7604e3b63aceb8b3d60f79.png

 

image.png.21970c01d0ef891b744e508f9b261148.png

 

 

ONLY THIS PART HAS NOW BECOME EDITABLE.

 

It has also added many NEWLINES \n statements, causing.. many new lines. :D

 

 

 


This is the code

 
Posted
3 minutes ago, Reginald_001 said:

As the title says, it's impossible to put code inside a spoiler tag.

 

This is what it looks like in the editor:

image.png.488bcc5ecb7604e3b63aceb8b3d60f79.png

 

image.png.21970c01d0ef891b744e508f9b261148.png

 

  Reveal hidden contents

ONLY THIS PART HAS NOW BECOME EDITABLE.

 

It has also added many NEWLINES \n statements, causing.. many new lines. :D

 

 

 


This is the code

 

I don't know whether it will help but there is a special "code" spoiler now on the bar just to the right of the spoiler icon. It looks like this </>. See if that doesn't help with your issue.

Posted
33 minutes ago, Psalam said:

I don't know whether it will help but there is a special "code" spoiler now on the bar just to the right of the spoiler icon. It looks like this </>. See if that doesn't help with your issue.

AWESOME that fixes it. :)

Code Test

Awww.. :( nope. It doesn't collapse the code.

 

 

Posted
On 6/27/2019 at 11:58 AM, Reginald_001 said:

Awww.. :( nope. It doesn't collapse the code.

 

let me try from Chrome, Reginald:

 

/* HelloWorld.java
 */

public class HelloWorld
{
	public static void main(String[] args) {
		System.out.println("Hello World!");
	}
}

 

Posted
On 6/27/2019 at 11:58 AM, Reginald_001 said:

AWESOME that fixes it. :)


Code Test

Awww.. :( nope. It doesn't collapse the code.

 

 


okay; this was my output:

 

Spoiler

977349376_ScreenShot2019-06-28at3_08_03PM.png.e5d37d4354258c8fe1dbfa4e9a29b8d9.png


do you have/see the same on my previous post?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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