zulip: bugdown: Latex shifts superscripts and other offset characters downwards.

To reproduce, send a message like

Subscripts and superscripts: $$a^X B^X a^x a_X B_X$$. 
\frac: $$\frac{a}{b}$$, \over: $${a \over b}$$ and \bar: $$\bar{\theta}$$. 
Integrals: $$\int_0^1$$.
This seems to be okay: $$a^{a^{a^a}}$$.

The frontend markdown processor is doing the right thing, but the backend markdown processor returns: image

I would start by figuring out what is different between what the frontend and backend markdown returns. http://zulip.readthedocs.io/en/latest/subsystems/markdown.html is useful reading.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 22 (11 by maintainers)

Commits related to this issue

Most upvoted comments

@pyrocto That’s a different bug, but I’ve fixed it as #13154.

I don’t know why but

# Collect the files that we're going to serve; this creates prod-static/serve.
subprocess.check_call(['./manage.py', 'collectstatic', '--no-default-ignore',
                       '--noinput', '-i', 'assets', '-i' 'node_modules'],
stdout=fp, stderr=fp)

Is ignoring the node_modules directory.