Closed jasonhibbs closed 1 year ago
Ouff. Interesting. Thanks for taking the time to submit an issue. I'll look into this asap and get out a patch. In the meantime wrap the :root
selector in comment ignores, eg:
<style>
/* Base */
@import url('https://use.typekit.net/example.css');
/* @prettify-ignore-start */
:root {
--example-var: 16px;
}
/* @prettify-ignore-end */
</style>
Shipping in 3.2.0
Extension is great, but I’ve got one issue in formatting.
While my style tag is inline, the
:root
selector is moved to strange places.Here’s what I’m expecting:
Here’s what I’m getting:
When I remove the import and comment, I get: