Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

MathJax rendering in edit preview fixed #315

Merged
merged 1 commit into from Nov 2, 2012

Conversation

Projects
None yet
2 participants
Contributor

karlicoss commented Oct 4, 2012

MathJax formulas didn't render in edit preview mode for two reasons:

  1. No mathjax script was included in preview page (fixed in Network/Gitit/Handlers.hs)
  2. No rendering update was done after pressing "Preview" button (fixed in data/static/js/preview.js). Not sure if it's the easiest way to detect if we're using mathjax (I have knowledge neither in JS nor in MathJax), however, that works :)

jgm added a commit that referenced this pull request Nov 2, 2012

Merge pull request #315 from karlicoss/master
MathJax rendering in edit preview fixed

@jgm jgm merged commit 247a21d into jgm:master Nov 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment