I'm learning/testing Sphinx and found a possible bug that could be a dealbreaker for my project - anyone know a workaround or can spot an error? The problem is that the link target (anchor) seems to break the formatting in that area.
I set up an arbitrary cross-reference like this:
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
.. _nonbeer:
When we speak of free software, we are referring to freedom, not price.
Our General Public Licenses are designed to make sure that you have the
freedom to distribute copies of free software (and charge for them if
I can successfully reference it via this syntax:
Arbitrary crossreference test: :ref:`Free Software <nonbeer>`
The link looks great when I output PDF, but at the target, the paragraph break between those two items has been ignored. They show up as one paragraph.
I tried adding extra lines before or after the reference link, no good there.
This is possibly the same problem in this question, but there isn't an answer there.