Specials characters of a code C# (such as: < > & ) are not right displayed in the website

Is not possible to just copy and paste the code of Unity Learn Tutorials scripts, because every string between “<>” are not displayed (because html parser think is a tag?), so need to add these manually.
I tested it with latest versions browsers, Edge, Chrome and FireFox…is disheartening to have errors unexpected while follow with trust the tutorial… also the “&” character, and “<” or “>” alone, have the same problem.
I hope there is a way to fix this issue, to make the Unity tutorials more correct and beginner friendly!

While I am not sure if it still exists, it seems for those code snippets formatted in the tutorials that the special characters were not actually HTML encoded, but instead the HTML encoding text was used in the code when pasting.

For now, the best thing to do would be to copy and paste the tutorial code, then do a global search and replace for the following:

Search For		Replace With
   >             >
   <             <
   &            &
   "           "

You could use an online HTML decoding tool (such as Code Beautifier), which will require you paste in the example, then copy the result and paste again your actual source code. It’s an unfortunate annoyance and I’m not sure how long it would take for them to get around to fixing the examples.

You could use an online HTML decoding tool (such as Online HTML Decoder), which will require you paste in the example, then copy the result and paste again your actual source code. It’s an unfortunate annoyance and I’m not sure how long it would take for them to get around to fixing the examples.

,You could use an online HTML decoding tool (such as Code decoder), which will require you paste in the example, then copy the result and paste again your actual source code. It’s an unfortunate annoyance and I’m not sure how long it would take for them to get around to fixing the examples.