Update jquery.ptemplate.js

added safetext filtering and |safe override