preact-render-to-string
preact-render-to-string copied to clipboard
Pretty rendering breaks <pre> tags
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.