@nschonni There is some escaping with pe.jqescape(). Is that sufficient?

What about the JavaScript escape() function? Would that work?