preact-render-to-string icon indicating copy to clipboard operation
preact-render-to-string copied to clipboard

Pretty rendering breaks <pre> tags

Open jaens opened this issue 4 years ago • 0 comments

When setting {pretty: true} in options, looks like any <pre> tags in the output get extra indentation added (based on the nesting level of the tag), breaking its contents.

jaens avatar Apr 18 '20 20:04 jaens