Closed viktorix closed 1 year ago
I noticed code blocks using <pre> were missing line breaks. The problem seems to stem from this line:
<pre>
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) { all: unset; display: revert; }
If I disable all: unset in devtools, line breaks return to <pre>. But for the life of me, I can't seem to figure out which CSS property it unsets to remove line breaks so I can add them back.
all: unset
Here's an example with all: unset and while its disabled:
Thanks.
It might be the CSS white-space property.
white-space
See https://developer.mozilla.org/en-US/docs/Web/CSS/white-space.
Added fix in the new version (1.8.0) revert for
and element
I noticed code blocks using
<pre>
were missing line breaks. The problem seems to stem from this line:If I disable
all: unset
in devtools, line breaks return to<pre>
. But for the life of me, I can't seem to figure out which CSS property it unsets to remove line breaks so I can add them back.Here's an example with
all: unset
and while its disabled:Thanks.