2

I'm trying to answer my own question on Stack Overflow. I've followed the guides on pasting XML, however it still doesn't show on the answer:

The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is '65536'.

I'm not sure if you can see the XML; I can only see it when editing the question. If not, please let me know and I will try paste it here.

  • 1
    The <!-- language: lang-xml --> should not be part of the code. – Sebastian Simon Oct 17 '18 at 0:53
6

I fixed your answer.

You had code in a list, which requires either double the indentation (8 spaces) or what I call a "decoy" tag. I did the latter, with the markdown coming out to:

1. Numbered list text

<!>

    code

The "decoy" tag is stripped out instead of your actual code. I also use this trick to break code blocks or block quotes into two, by placing <!> between the two halves.

Another good alternative is to use ~~~code fences~~~.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .