diff options
author | Jean-François B <jfbu@free.fr> | 2018-03-15 10:29:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 10:29:10 +0100 |
commit | e1e46cdf8be9fbede7fd1da3240107d00921e850 (patch) | |
tree | e1b3b85b614c2e74d7b6171785c797b09e41910e /sphinx/ext/mathbase.py | |
parent | 613657981bf2edfc1567499384b21f8e85c4e05d (diff) | |
parent | c4e12ff01231d468682264b5d856aa78c39eeb19 (diff) | |
download | sphinx-git-e1e46cdf8be9fbede7fd1da3240107d00921e850.tar.gz |
Merge pull request #4729 from jfbu/latex_equation_nophantom
Fix vertical space before equation in latex (closes: #4574)
Diffstat (limited to 'sphinx/ext/mathbase.py')
-rw-r--r-- | sphinx/ext/mathbase.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/ext/mathbase.py b/sphinx/ext/mathbase.py index 24c10df3c..3cc734537 100644 --- a/sphinx/ext/mathbase.py +++ b/sphinx/ext/mathbase.py @@ -85,6 +85,7 @@ class MathDomain(Domain): newnode['target'] = target return newnode else: + # TODO: perhaps use rather a sphinx-core provided prefix here? node_id = make_id('equation-%s' % target) if env.config.math_numfig and env.config.numfig: if docname in env.toc_fignumbers: |