Fix extract_views(line) to properly remove \n