MathJax rendering in edit preview fixed #315

merged 1 commit into from Nov 2, 2012


None yet
2 participants

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