mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-25 17:42:46 +02:00
Update cleanup.js
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
module.exports = function cleanUp(latex) {
|
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('\\]','');
|
latex = latex.replace(/^'/,'').replace(/'$/,'').replace('\\[','').replace('\\]','');
|
||||||
|
|
||||||
// wrap some known functor words in italics markup
|
// wrap some known functor words in italics markup
|
||||||
|
Reference in New Issue
Block a user