mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	When there was no space right after `/todo` but there was content on a new line, the message would be rendered plainly, not as a todo widget. This was because we split on only the space character to then check if the first token was a valid widget. Now we split on both spaces and newlines to extract the widget name, irrespective of whether it is followed by a space or a newline. This results in the message being rendered as a todo widget as expected.
		
			
				
	
	
	
		
			3.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			3.2 KiB