You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to be caused by the fact that the docs for unsafePerformIO read as follows:
* Use @{\-\# NOINLINE foo \#-\}@ as a pragma on any function @foo@
that calls 'unsafePerformIO'. If the call is inlined,
the I\/O may be performed more than once.
Unfortunately, having so many spaces before a line is parsed by Markdown as being a code block, hence the problem.
I really think this is on our side, since the comment in unsafePerformIO is valid Haddock. I've put up a fix in haskell/ghcide#344, which seems to render those docs correctly and not break anything else.
The overall feature looks neat, but some parts of the
:doc
are incorrectly wrapped in<code></code>
As @serras points out, the origin of this may be at the transform of Haddock into Markdown.
Should this be reported in https://github.com/haskell/haddock instead, please let me know.
The text was updated successfully, but these errors were encountered: