fedimbed: escape some markdown
This commit is contained in:
		
							parent
							
								
									375eafd782
								
							
						
					
					
						commit
						180839e687
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1304,6 +1304,8 @@ async function processUrl(msg, url, spoiler = false, command = false, inQuote =
 | 
			
		|||
      .replaceAll(/twitter\.com\/t\.co/g, "t.co");
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  content = content.replaceAll(/[*_~`|]/g, "\\$&");
 | 
			
		||||
 | 
			
		||||
  content = htmlToMarkdown(content);
 | 
			
		||||
 | 
			
		||||
  if (platformName == "Nitter") {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue