Fixed bug whereby excessive escaping meant that the escapsing itself leaked through to the page