Added API 10 support, line break support