3
$\begingroup$

Context

Sometimes my front end misrepresents some output typically involving associations. For instance

EmbedCode[CloudDeploy["hello, world"]]

should produce

enter image description here

according to the documentation but in fact yields

EmbeddingObject[Association[EnvironmentName->HTML,CodeSection->Association[Content->,Title->Automatic,Filename->cloudembed.html],CloudObject->CloudObject(https://www.wolframcloud.com/obj/2f2939a8-cd27-4c9a-99a2-c8ea44db36a6)]]

Question

How to fix this?

$\endgroup$

1 Answer 1

3
$\begingroup$

Ok it is a bit cheeky to answer one's own question but I stubbled on the solution months after wondering what was going wrong.

The solution is to convert the output-cell into standard form (command shift N) rather than traditional form (my default).

I hope this can prove useful to others.

$\endgroup$
2
  • $\begingroup$ Absolutely nothing wrong to self-answer. This is a common gotcha with traditional form. $\endgroup$
    – b3m2a1
    May 13, 2021 at 20:05
  • $\begingroup$ @b3m2a1 should we draw attention to WRI to this as some kind of (admittedly weak) bug? $\endgroup$
    – chris
    May 14, 2021 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.