By default, unifiedLatexToHast will force the output to be valid HTML.
This is accomplished by running rehypeRaw on the output which will ensure
there are no nested <p> tags, and that block elements don't end up as children of <span>s,
etc. Set to true to skip this check.
By default,
unifiedLatexToHast
will force the output to be valid HTML. This is accomplished by runningrehypeRaw
on the output which will ensure there are no nested<p>
tags, and that block elements don't end up as children of<span>
s, etc. Set totrue
to skip this check.