removes message carriage returns
This commit is contained in:
		| @ -131,6 +131,8 @@ else | ||||
|                             string input = "___"; | ||||
|                             if (context.Body.Contains(input)){  | ||||
|                             context.Body = context.Body.Split(input)[0]; | ||||
|                             context.Body = context.Body.Replace("\n", ""); | ||||
|                             context.Body = context.Body.Replace("\r", ""); | ||||
|                             } } | ||||
|                             @(context.Body.Length > 100 ? (context.Body.Substring(0, 97) + "...") : context.Body) | ||||
|                         </td> | ||||
| @ -161,6 +163,8 @@ else | ||||
|                             string input = "___"; | ||||
|                             if (context.Body.Contains(input)){  | ||||
|                             context.Body = context.Body.Split(input)[0]; | ||||
|                             context.Body = context.Body.Replace("\n", ""); | ||||
|                             context.Body = context.Body.Replace("\r", ""); | ||||
|                             } } | ||||
|                             @(context.Body.Length > 100 ? (context.Body.Substring(0, 97) + "...") : context.Body) | ||||
|                         </td> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Cody
					Cody