Tutorial code is displayed html encoded
aland opened this issue · 0 comments
aland commented
Describe the bug
Tutorial pages with code example have html encoded entities replacing characters in the code, e.g. <
becomes <
, &
becomes &
etc
I noticed this on the php pages, but it doesn't seem to be unique to them
Reproduction steps
- Visit any tutorial pages with code examples, e.g. https://www.rabbitmq.com/tutorials/tutorial-two-php#putting-it-all-together
- Code may be mangled, e.g.
<?php
...
Expected behavior
Code should be displayed as is, not encoded with html entities
Additional context
https://www.rabbitmq.com/tutorials/tutorial-five-php
https://www.rabbitmq.com/tutorials/tutorial-five-javascript