Skip to content
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

Links to primed names. #39

Open
fryguybob opened this issue Nov 1, 2013 · 2 comments · May be fixed by #79
Open

Links to primed names. #39

fryguybob opened this issue Nov 1, 2013 · 2 comments · May be fixed by #79

Comments

@fryguybob
Copy link
Member

In the manual links to names that end in a prime are linked to haddocks as the unprimed name.

@byorgey
Copy link
Member

byorgey commented Nov 1, 2013

It is actually much worse than that. We do a really terrible job parsing names to link to right now (though it's better than nothing of course). The place to look is here:

https://github.com/diagrams/docutils/blob/master/src/Text/Docutils/Transformers/Haskell.hs#L91

@fryguybob
Copy link
Member Author

I tried to track this down a bit and by the time we get to the code you linked the text has already been split before the prime. Highlighting doesn't seem to be the culprit. If I skip the likify step in diagrams-doc the html result has the whole name in one node. So I'm not sure what is going on.

@cchalmers cchalmers linked a pull request Jan 29, 2015 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants