Fix strip() in formatter.py