mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Change style to improve whitespaces trimming inside inline markdown code (#23093)
Given mardown source ``` x ` a` y x `a ` y x ` a ` y ``` Render <img width="1421" alt="2023-02-23 15 33 14" src="https://user-images.githubusercontent.com/17645053/220844280-a304c788-ac79-4a26-a55a-0db00f2fb3f3.png"> Fixes #23080.
This commit is contained in:
		@@ -415,6 +415,7 @@
 | 
				
			|||||||
    padding: .2em .4em;
 | 
					    padding: .2em .4em;
 | 
				
			||||||
    margin: 0;
 | 
					    margin: 0;
 | 
				
			||||||
    font-size: 85%;
 | 
					    font-size: 85%;
 | 
				
			||||||
 | 
					    white-space: break-spaces;
 | 
				
			||||||
    background-color: var(--color-markup-code-block);
 | 
					    background-color: var(--color-markup-code-block);
 | 
				
			||||||
    border-radius: 4px;
 | 
					    border-radius: 4px;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user