Preserves whitespace in codeblocks by transforming codeblock text to a custom escaped form during restructurePreservingWhitespace then unescaping in toJSON. Needed to prevent whitespace in element text from getting normalized away during intermediate passes which parse with whitespace normalization on.
Preserves whitespace in codeblocks by transforming codeblock text to a custom escaped form during restructurePreservingWhitespace then unescaping in toJSON. Needed to prevent whitespace in element text from getting normalized away during intermediate passes which parse with whitespace normalization on.