use better escaping in console/new

for consistency, extract escape from processor into util for reuse.
make title raw, so special characters remains as it was.