Code renders incorrectly

I’m sure you’ve noticed this.

Posts containing code blocks frequently render incorrectly, e.g.:

#include <vector>

(Signals & slots in Juce)

Also &   etc

Looks like some Base64 decoding problem maybe?


Not really base64 involved I guess. Those that are special characters for HTML (e.g. <, >, & and some others) have been converted to their corresponding HTML entity name ‘<’, ‘>’. ‘&’ and that one gets displayed inside code blocks unchanged

This is present in many posts. I suspect it is an artefact of transferring posts to the new forum database.

Forgot to call encodeURIComponent(textFromTextArea) before form submit?