|  | @@ -165,6 +165,13 @@ function install_interactive_gnusocial {
 | 
	
		
			
			| 165 | 165 |                  GNUSOCIAL_DETAILS_COMPLETE="yes"
 | 
	
		
			
			| 166 | 166 |              fi
 | 
	
		
			
			| 167 | 167 |          done
 | 
	
		
			
			|  | 168 | +
 | 
	
		
			
			|  | 169 | +        # remove any invalid characters
 | 
	
		
			
			|  | 170 | +        if [ ${#GNUSOCIAL_WELCOME_MESSAGE} -gt 0 ]; then
 | 
	
		
			
			|  | 171 | +            new_welcome=$(echo "$GNUSOCIAL_WELCOME_MESSAGE" | sed "s|'||g")
 | 
	
		
			
			|  | 172 | +            GNUSOCIAL_WELCOME_MESSAGE="$new_welcome"
 | 
	
		
			
			|  | 173 | +        fi
 | 
	
		
			
			|  | 174 | +
 | 
	
		
			
			| 168 | 175 |          # save the results in the config file
 | 
	
		
			
			| 169 | 176 |          write_config_param "GNUSOCIAL_CODE" "$GNUSOCIAL_CODE"
 | 
	
		
			
			| 170 | 177 |          write_config_param "GNUSOCIAL_WELCOME_MESSAGE" "$GNUSOCIAL_WELCOME_MESSAGE"
 |