You're right it's not episerver related.
You are escaping the characters wrong and trying to create html-tags that aren't correct. Your two lines of code should look like this:
Not sure if its episerver releted, but I'm trying to print some json encoded strings that contains URLs but the server keeps "correcting" them.
Here are some examples of what the server is doing:
And that is clearly not what I intended...
How can I stop the server from doing this?
Thanks in advance.