escape underscores and pipes