mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	docs: Fix capitalization mistakes.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							41e8872b0f
						
					
				
				
					commit
					544bbd5398
				
			@@ -164,7 +164,7 @@ def tokenize(text: str) -> List[Token]:
 | 
			
		||||
                continue
 | 
			
		||||
        except TokenizationException as e:
 | 
			
		||||
            raise FormattedException(
 | 
			
		||||
                f'''{e.message} at Line {state.line} Col {state.col}:"{e.line_content}"''',
 | 
			
		||||
                f'''{e.message} at line {state.line} col {state.col}:"{e.line_content}"''',
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
        line_span = len(s.split("\n"))
 | 
			
		||||
@@ -401,9 +401,9 @@ def get_html_tag(text: str, i: int) -> str:
 | 
			
		||||
        end += 1
 | 
			
		||||
    if quote_count % 2 != 0:
 | 
			
		||||
        if unclosed_end:
 | 
			
		||||
            raise TokenizationException("Unbalanced Quotes", text[i:unclosed_end])
 | 
			
		||||
            raise TokenizationException("Unbalanced quotes", text[i:unclosed_end])
 | 
			
		||||
        else:
 | 
			
		||||
            raise TokenizationException("Unbalanced Quotes", text[i : end + 1])
 | 
			
		||||
            raise TokenizationException("Unbalanced quotes", text[i : end + 1])
 | 
			
		||||
    if end == len(text) or text[end] != ">":
 | 
			
		||||
        raise TokenizationException('Tag missing ">"', text[i : end + 1])
 | 
			
		||||
    s = text[i : end + 1]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user