mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	webpack: Enable explicitPartialContext for handlebars-loader.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							44c50b3e64
						
					
				
				
					commit
					e172c717f7
				
			@@ -153,7 +153,7 @@ def tokenize(text: str, template_format: str | None = None) -> list[Token]:
 | 
			
		||||
                kind = "handlebars_partial"
 | 
			
		||||
            elif looking_at_handlebars_partial_block():
 | 
			
		||||
                s = get_handlebars_partial(text, state.i)
 | 
			
		||||
                tag = s[5:-2]
 | 
			
		||||
                tag = s[5:-2].split(None, 1)[0]
 | 
			
		||||
                kind = "handlebars_partial_block"
 | 
			
		||||
            elif looking_at_html_start():
 | 
			
		||||
                s = get_html_tag(text, state.i)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user