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

Don't break on inline markup in Sphinx reStructuredText #40

Open
tino opened this issue Sep 23, 2014 · 2 comments
Open

Don't break on inline markup in Sphinx reStructuredText #40

tino opened this issue Sep 23, 2014 · 2 comments
Labels

Comments

@tino
Copy link

tino commented Sep 23, 2014

It now break in the middle of things like

:term:`some word`

which doesn't work...

@ehuss
Copy link
Owner

ehuss commented Sep 23, 2014

Hm, newlines in terms (or any interpreted text) seem to work for me.

.. glossary::

    foo bar
      Definition for foo bar

:term:`foo
bar`

Can you be more specific?

@tino
Copy link
Author

tino commented Sep 24, 2014

foo bar foo bar foo bar foo bar foo :term:`two-words` :term:`two-words` :term:`two-words`

becomes

foo bar foo bar foo bar foo bar foo :term:`two-words` :term:`two-words` :term
:`two-words`

And

foo bar foo bar foo bar foo bar :term:`two-words` :term:`two-words` :term:`two-words`

becomes

foo bar foo bar foo bar foo bar :term:`two-words` :term:`two-words` :term:`two-
words`

I know, the dashes fuck it up... But both results break rst.

@ehuss ehuss added the lang-bug label Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants