xapian-omega fix escaping issues in templates

Make this proper case.
xapian-omega Fix escaping issues in templates