Jump to content

[code] tags gobble remaning text.


Recommended Posts

This post is for the website admin.

I am having a problem when I use code tags and then type followup text.

 

For example.

 

{
    "styles" :
    [ 
        {
            "target" : "*",
            "overrides" : {
                "material" : {
                    "name" : "`opfullpath("../shopnet1/constant")`"
                },
                "materialParameters" : {
                    "clr" : {
                        "script" : {
                            "code" : "cvex mFn( int seed = 0; export vector out_color = {0,0,0} ) { out_color = rand(seed); }",
                            "bindings": { "seed" : "intrinsic:indexorder" }
                        }
                    }
                }
            }
        }
    ]
}
 
Notice, I have not used a code tag and I can type this followup text.
 
Now I'll try the same thing using the code tag.

{
    "styles" :
    [ 
        {
            "target" : "*",
            "overrides" : {
                "material" : {
                    "name" : "`opfullpath("../shopnet1/constant")`"
                },
                "materialParameters" : {
                    "clr" : {
                        "script" : {
                            "code" : "cvex mFn( int seed = 0; export vector out_color = {0,0,0} ) { out_color = rand(seed); }",
                            "bindings": { "seed" : "intrinsic:indexorder" }
                        }
                    }
                }
            }
        }
    ]
}
Can you see my follow up text is now missing?
 
Of course it isn't doing it now, perhaps attachements have to be involved.
 
Here is a direct link to a post where I encountered the problem.
Edited by Atom
Link to comment
Share on other sites

Ok, after another frustrating post where my text is gobbled up after I manually type "openbracket" code "closebracket" My code "open bracket" slash code "closebracket".

 

I believe the problem may be present on specific forums. Particularly the Rendering forum.

 

To reproduce this website error make a post in the Rendering forum as a reply and put some code in side a code block (not using the toolbar) and then follow that up with more non-code text. I find that my followup text just disappears and I can never type anything below the code block.

Link to comment
Share on other sites

  • 5 weeks later...
Guest mantragora

Yeah, it's a problem. I learned this hard way when I wrote some answer and added couple code tags just to found out that after I posted half of the post was NOT there.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...