-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surprising position of a paragraph after a tag #1
Comments
I had the feeling (and some other people too, based on the way they wrote their doc comments) that since the
Or maybe there is something in the odoc grammar to indicate the end of a paragraph attached to a tag? |
It seems to me that the expectation is that tags are at the end of doc comments - see the comment here. As such I think there's no way to return a result looking like |
Alright if that's expected I'm happy to close this issue then, thanks! |
Hi, we have encountered a surprising behavior after using odoc-parser 0.9.0 (ocaml-ppx/ocamlformat#1719), it looks like after parsing a tag, the following paragraphs are added to the list of paragraphs of said tag.
There is a corresponding test in odoc-parser's testbase:
odoc-parser/test/test.ml
Lines 3537 to 3546 in c5ce41b
Is this really expected or should it be 2 different items in the odoc AST?
The text was updated successfully, but these errors were encountered: