forked from dymik739/modular-bot-framework-for-telegram
		
	auto-schedule-pro-v2: fix HTML escaping
This commit is contained in:
		
							parent
							
								
									67b3c4278b
								
							
						
					
					
						commit
						5dc78b8cb0
					
				@ -42,7 +42,7 @@ def escaped_string_markdownV2(input_string):
 | 
			
		||||
def escaped_string_html(input_string):
 | 
			
		||||
    result_string = input_string
 | 
			
		||||
 | 
			
		||||
    symbols_to_escape = ['<', '>', '/']
 | 
			
		||||
    symbols_to_escape = ['<', '>']
 | 
			
		||||
 | 
			
		||||
    for symbol in symbols_to_escape:
 | 
			
		||||
        result_string = result_string.replace(symbol, f"\\{symbol}")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user