Updated postrender code for curly quotes