Change edit_string_for_tags to join tags without whitespaces