Escape some strings in the generator
Merge branch 'refs/heads/2.3/develop' into 3.0/develop