mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-10-31 09:09:25 +08:00 
			
		
		
		
	Fixed incorrect decoration check from Bold to Italic in HtmlEncoder.BuildCss
This commit is contained in:
		| @@ -98,7 +98,7 @@ internal sealed class HtmlEncoder : IAnsiConsoleEncoder | ||||
|             css.Add("font-weight: bold"); | ||||
|         } | ||||
|  | ||||
|         if ((style.Decoration & Decoration.Bold) != 0) | ||||
|         if ((style.Decoration & Decoration.Italic) != 0) | ||||
|         { | ||||
|             css.Add("font-style: italic"); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ymqn
					ymqn