mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-18 09:35:39 -05:00
* Fix markdown security and enable most CSS Stops using our sanitizer and instead disables HTML in markdown engine - This was blocking Note because it converted > to > - It's slightly more strict in that it fully disables HTML unless trusted. Will need to improve handling of Trusted to support this in a future PR Adds in correct CSS, both from .css file in markdown extension and from built-into all webviews global CSS - Fix #3765 standard markdown support - Fix Support of Notes by bringing correct styles - Fix code block colorization - Fix link handling so it's not bolded / gets underlined on hover - Fixes table rendering (for markdown and HTML tables) * Reduce scope of CSS changes - Removed some CSS that wasn't needed or caused issues - Scoped most things under the preview section not the whole component * Avoid markdown html block by sanitizing after render * Fix pre node not overflowing - This was a bug in existing implementation too