1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-22 08:13:51 +02:00

Update cleanup.js

This commit is contained in:
Mike Kamermans
2017-09-18 20:39:25 -07:00
committed by GitHub
parent 0bf485eade
commit d6cc0c2a0c

View File

@@ -1,5 +1,5 @@
module.exports = function cleanUp(latex) {
// strip any \[ and \], which is an block-level LaTeX markup indicator for MathJax:
// strip any \[ and \], which is a block-level LaTeX markup indicator for MathJax:
latex = latex.replace(/^'/,'').replace(/'$/,'').replace('\\[','').replace('\\]','');
// wrap some known functor words in italics markup